victormedranop Well-Known Member Licensed User Longtime User Feb 2, 2019 #1 it's strange this case was workig but now its not. its android 19, but compiler with andorid 28 in b4a 8+ my code B4X: LogColor("UPDATE APK with activity start",Colors.Yellow) Dim iIntent As Intent iIntent.Initialize(iIntent.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, public_variables.DOWNLOAD_FILENAME)) iIntent.SetType("application/vnd.android.package-archive") StartActivity(iIntent) and this is the error Attachments error.png 19.6 KB · Views: 269
it's strange this case was workig but now its not. its android 19, but compiler with andorid 28 in b4a 8+ my code B4X: LogColor("UPDATE APK with activity start",Colors.Yellow) Dim iIntent As Intent iIntent.Initialize(iIntent.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, public_variables.DOWNLOAD_FILENAME)) iIntent.SetType("application/vnd.android.package-archive") StartActivity(iIntent) and this is the error
Erel B4X founder Staff member Licensed User Longtime User Feb 3, 2019 #2 Version safe APK installation Upvote 0