I am looking for information about the upgrade process in android. I mean I want to know if the application is reinstalled? Is the cache cleared? Is the external storage folders deleted (as these are deleted during uninstall)? etc.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
AFAIK, no, nothing changes except for the apk. This includes
res/andassets/, but will not include anything stored to the device’s/sdcard/data/directory.If there is a sql lite database, it should be associated with a version number. If the db has to change in an upgrade, it is the developer’s responsibility to implement a database upgrade for existing database, within their new release.
Keep in mind if the developer wants to, they can delete external resources. But natively, no Android will leave folders in
/sdcard/data/or whereever they might be stored.Also, yes, the cache is cleared. This is actually from uninstalling the older version before reinstalling the new one.