Thanks for the handy method. First of all, I have to get this working, then I may try this out. Good thing to know..
:RB On Sep 30, 9:03 pm, davemac <[email protected]> wrote: > You should also check out this handy method: > > PreferenceManager.setDefaultValues(Context context, int resId, boolean > readAgain) > > Assuming you've defined default values for preferences in your > preferences.xml file, this method will use those to initialize your > saved preferences file. Which means you shouldn't have to define > default values in your code. Which is nice. > > - davewww.androidbook.com > > On Sep 30, 9:41 pm, Mark Murphy <[email protected]> wrote: > > > > > On Thu, Sep 30, 2010 at 9:15 PM, rb <[email protected]> wrote: > > > I looked at the URL's that you provided and tried some coding with it, > > > but I am failing to understand > > > the proper coding methods. > > > BTW, the preference chapter in my book has not changed that much from > > earlier editions, so you're welcome to read the relevant chapter in > > the most recent Creative Commons edition: > > >http://commonsware.com/Android/Android-1_4-CC.pdf > > > That should give you more context for all of this preference stuff. > > > -- > > Mark Murphy (a Commons > > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > Android Training in Atlanta:http://bignerdranch.com/classes/android -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

