[android-beginners] Re: Default values in SharedPreferences

2010-08-07 Thread skink
Bret Foreman wrote: Ideally, the SharedPreferences infrastructure could be told to read in the entire preferences.xml file so the SharedPreferences database is loaded with all the initial values. But I haven't found any way to do that. did you try

[android-beginners] Re: Default values in SharedPreferences

2010-08-06 Thread Bret Foreman
Yeah, that's messy, but it will probably work. One other consideration is what the next version of Android will do about this. It's pretty clear that this is an important missing feature. I expect they'll eventually make a version of getXXX that reads the default value from preferences.xml if

Re: [android-beginners] Re: Default values in SharedPreferences

2010-08-06 Thread TreKing
On Fri, Aug 6, 2010 at 5:38 PM, Bret Foreman bret.fore...@gmail.com wrote: One other consideration is what the next version of Android will do about this. It's pretty clear that this is an important missing feature. I expect they'll eventually make a version of getXXX that reads the default