Heppy Active Member Licensed User Longtime User Nov 4, 2012 #1 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
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
Erel B4X founder Staff member Licensed User Longtime User Nov 4, 2012 #2 There is no difference between updating the current app or a different app. Note that you cannot silently install an application. Android doesn't allow it. The dialog will always appear. Upvote 0
There is no difference between updating the current app or a different app. Note that you cannot silently install an application. Android doesn't allow it. The dialog will always appear.
Heppy Active Member Licensed User Longtime User Nov 4, 2012 #3 Thanks for you quick reply. If so, my app still needs to be developed in enviroments such as Sierra Wireless Impressive your work. I'm having so much fun. Thanks. Erel,You sleep? lol. Or use Teamviewer. Last edited: Nov 4, 2012 Upvote 0
Thanks for you quick reply. If so, my app still needs to be developed in enviroments such as Sierra Wireless Impressive your work. I'm having so much fun. Thanks. Erel,You sleep? lol. Or use Teamviewer.