Upgrading Android Version cleans application data?

2020-05-09 03:40发布

问题:

I've received a strange bug report:

After a OTA update of the SO from 2.1 to 2.2 the SharedPreferences have been wiped, thus making my app return to the 1st time screen.

Is this a normal behaviour, wipe of the SharedPreferences on system update although maintaining the app installed?

Thanks

回答1:

Shared Preferences data will remain.

Kindly check the following link which provides a good analysis of your problem.

http://groups.google.com/group/android-developers/browse_thread/thread/246aae66e0caf302/908be552b1d86158?lnk=gst&q=Shared+Preferences#908be552b1d86158



标签: android ota