Reputation: 9706
In my application I have a few SharedPreference values. The mode is PRIVATE (0), so these preferences are in bounds of application. What I'm interested in, is are they removed after de-installation of the application? Or they still stay somewhere in the system until clear() will be called? Thanks.
Upvotes: 9
Views: 7033
Reputation: 2879
SharedPreference will be deleted only:
Upvotes: 1
Reputation: 9115
SharedPreferences count as your application data, which is deleted when the app is uninstalled. I don't think you can force the device to keep them.
Upvotes: 2
Reputation: 12367
Deinstalation shall remove shared preferences. APK update preserves them
Upvotes: 8