B4X:
i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "ftp.apk"))
i.SetType("application/vnd.android.package-archive")
I.SetComponent("android/com.android.internal.app.ResolverActivity")
StartActivity(i)
This code works fine for update my app.
How to automate the process of installing and running the app.
It must be done from another app. Have any examples of how to do it?
Thanks.
PD: Sorry, my english is very bad. Google's translator, lol