Publish An Application Update On Android - Market Without Deleting Local Database And Local Files
I published an application that stores data in a local database.
Now I have to publish an update to this application to fix开发者_Go百科 some little bugs, but I am afraid that downloading and installing the update will delate the local database associated with the previous version.
I would like to know how the update system works. Will installing an update completely delete all the apk, files, databases associeted with the previous version?
If so, how can I avoid this in my code?
iShader, updates to an existing app in android market does not delete or alter the database (sqlite files), shared preferences or other files created using Android data Storage.
I think you have to change the application version number in the manifest file.
精彩评论