[android-beginners] Default values in SharedPreferences

2010-08-06 Thread Bret Foreman
My application is somewhat complex and has lots of settable preferences. Fortunately for the user, there are sensible defaults that I can pre-configure. The SharedPreferences infrastructure includes defaults in preferences.xml, which I have set accordingly. The trouble is that if the user has

Re: [android-beginners] Default values in SharedPreferences

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 3:24 PM, Bret Foreman bret.fore...@gmail.com wrote: This is such a generic problem that I'm hoping someone has already solved it and I can get something off the shelf. Any suggestions? I haven't done this (yet) but you could probably store your default values as