On Thu, Sep 30, 2010 at 6:51 PM, rb <rbs...@gmail.com> wrote: > Thanks for shedding some light on this issue. > > Here's some of my code:
:: snip :: > I was going to save and read the data from a file which would be > stored > in the phones default applications directory as one file. All the more reason to use a PreferenceActivity. > Not sure how you would use the preference activity for storing name/ > values as > I need to store and retrieve 6 different items. Ever looked at the Settings application in your device? That's a PreferenceActivity. That has well more than "6 different items". > Any chance you could reply with some code on how I could utilize the > preferences activity > from the code I have provided? http://developer.android.com/guide/topics/data/data-storage.html#pref http://developer.android.com/reference/android/preference/PreferenceActivity.html http://github.com/commonsguy/cw-android/tree/master/Prefs/Dialogs/ -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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