Matt (preinvent) wrote: > OK, my app just did this again - wiped my DB and the sharedpreferences > that I set manually using the edit/putstring/commit system.
How did you do this? > However, > it did NOT wipe the shared preferences set by my PreferenceActivity. > I'm positive they're stored in the same place as I can iterate through > the same shared prefs and get settings stored both manually and via my > prefs page. Ummmm...to me, this is a "tea" and "no tea" situation. (and for the five of you who get the reference, that game drove me up a frakkin' wall...) You can see the actual files on the emulator using DDMS' File Manager. They'll be in: /data/data/your.package.here/databases /data/data/your.package.here/shared_prefs The PreferenceActivity should use PreferenceManager.getDefaultSharedPreferences() as its source of preference data. You can even download the files and inspect them on your development machine. The preferences are XML, and you can grab any SQLite client you want for the database (I use the SQLite Manager add-on for Firefox). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Consulting/App Development: http://commonsware.com/consulting -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en