0

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 you.

Community
  • 1
  • 1
michael
  • 106,540
  • 116
  • 246
  • 346
  • 1
    possible duplicate of [SharedPreferences file](http://stackoverflow.com/questions/2566430/sharedpreferences-file) or [Android: Viewing SharedPreferences file?](http://stackoverflow.com/questions/5951418/android-viewing-sharedpreferences-file) – Josh Lee Aug 25 '12 at 04:34

1 Answers1

3

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

Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113