Reputation: 61
I was wandering if there is an API to upgrade an application to newer version without going through Android Market. Example I have a .apk file version 1.0 and I would like to upgrade it to version 2.0 programmatically. Bearing in mind I would prefer a method that does not override user's high score or data when doing application upgrade.
Thanks much
Upvotes: 0
Views: 1476
Reputation: 1006554
Use an ACTION_VIEW
Intent
on a Uri
pointing to the updated APK, also giving the Intent
the magic MIME type (application/vnd.android.package-archive
).
Upvotes: 1