Skip to content Skip to sidebar Skip to footer

How Android's Sharedpreference Is Saved?

Possible Duplicate: SharedPreferences file Can you please tell me where does sharePreference of an android application save? How can I download it to my pc and view it? Thank yo

Solution 1:

SharedPreferences are stored in an xml file in the app data folder, i.e.

/data/data/YOUR_PACKAGE_NAME/shared_prefs/YOUR_PREFS_NAME.xml

or the default preferences at:

/data/data/YOUR_PACKAGE_NAME/shared_prefs/YOUR_PACKAGE_NAME_preferences.xml

Post a Comment for "How Android's Sharedpreference Is Saved?"