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.
Copy the APK file to the storage card and then send an intent similar to:
B4X:
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)
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.