Reputation: 1750
I want to know whether files that I copied to internal storage will also be updated or sharedpreferences files? They area removed when you uninstall app, but what happens when they are updated through Play Store?!
Upvotes: 0
Views: 217
Reputation: 75629
Android does not touch your internal storage files nor shared preferences on application update. They are left in the same state that they were when application was terminated prior replacing by updated version
Upvotes: 1
Reputation: 543
The only way to remove sharedpreferences is deleting application data, uninstall or do it programmatically as you can see here:
http://developer.android.com/reference/android/content/SharedPreferences.Editor.html
Look at the methods clear() and remove(String key)
Upvotes: 0
Reputation: 32271
An update will not remove any files or preferences saved by the app. Unless you intentionally program your update such that it does that.
Upvotes: 0