Android SharedPreference Lifecycle

In my application, I have several SharedPreference values. PRIVATE mode (0), so these preferences are within the application. I am wondering if they are deleted after the application installation is complete? Or do they still remain somewhere on the system until clear () is called? Thank.

+5
source share
3 answers

Uninstalling should remove the general settings. APK update saves them

+7
source

SharedPreferences are counted as your application data, deleted when the application is deleted. I do not think you can force the device to store them.

+2

SharedPreference :

  • .
  • When the user clears the application data through "Settings"> "Applications".
0
source

All Articles