Can you please does android clear/remove all user preference during upgrade?
- upgrade my apk from market
- upgrade my apk from command line ‘adb install’
- upgrade my apk by clicking a link contains the apk
- upgrade when I debug it via eclipse
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.
Are you using SharedPreferences? If so:
Your SharedPreferences will upgrade between versions. They will not be deleted. They are just files in your package’s data directory (
/data/data/<your_package>/shared_prefs/), all of which are retained during upgrades.Credits to Daniel Lew in this question.