F ferya Member Licensed User Longtime User Jan 16, 2013 #1 Hi, I am new user I want to know how upgrade the running program by new version? my apk file (new version) downloaded from my server and placed to a folder. and now I want to replace it with the running program.
Hi, I am new user I want to know how upgrade the running program by new version? my apk file (new version) downloaded from my server and placed to a folder. and now I want to replace it with the running program.
Erel B4X founder Staff member Licensed User Longtime User Jan 16, 2013 #2 Copy the APK file to the storage card and then send an intent similar to: Code: Copy Dim i As Intent i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "ApkName.apk")) 'apk name is case sensitive. i.SetType("application/vnd.android.package-archive") StartActivity(i) Upvote 0
Copy the APK file to the storage card and then send an intent similar to: Code: Copy Dim i As Intent i.Initialize(i.ACTION_VIEW, "file://" & File.Combine(File.DirRootExternal, "ApkName.apk")) 'apk name is case sensitive. i.SetType("application/vnd.android.package-archive") StartActivity(i)
F ferya Member Licensed User Longtime User Jan 17, 2013 #3 Parser error thank you for your reply and sorry for delay There is an Parser Error dialog whit bellow message when I run your code: There is a problem parsing the package. Upvote 0
Parser error thank you for your reply and sorry for delay There is an Parser Error dialog whit bellow message when I run your code: There is a problem parsing the package.
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2013 #4 Have you saved the file in the storage card? Did you check "allow installation of applications from unknown sources"? Upvote 0
Have you saved the file in the storage card? Did you check "allow installation of applications from unknown sources"?
F ferya Member Licensed User Longtime User Jan 17, 2013 #5 It works Thank you Erel, It works with the other device I am trying to find problem of that Tablet Tanx Upvote 0
It works Thank you Erel, It works with the other device I am trying to find problem of that Tablet Tanx