I want to know where Android stores the data of SharedPreferences in actual Android devices?
In PC I found this data under /data/data/pkg_name/shared_prefs/pkg_name.xml
Well, the path is right. It's
/<datadir>/<pkg_name/shared_prefs/<pref_name>.xml
Where <datadir> is usually /data/data
/data/data/<pkg_name/shared_prefs/? – Flow Jun 01 '12 at 09:13adb shellto open a shell andcdinto the path. You may need root to do so. – Flow Jun 01 '12 at 09:16adb: Check out http://developer.android.com/guide/developing/tools/adb.html – Flow Jun 01 '12 at 09:28