I've learned how to build simple preferences for my application using a 
separate Activity and PreferenceFragments.  So far so good.  
Part of my application's preferences are to provide a list of HOSTS to
select from, where each HOST has a set of data which describes the
host (host address, port, per host settings, etc).  The data for each
host is described in a separate Class, which is currently stored in 
a file associated with the application.

My application currently handles the settings for Host selection and
Host details using Dialog boxes attached to the menu button.  I would
like to update these basic Dialog boxes to use more modern PreferenceFragments.

I don't know how to handle the storing of N HOSTS data values in the 
SharedPreference hash.  I realize I can use this to store the chosen HOST, 
but I don't know  how to handle the data associated with each HOST, which 
is currently held in a separate class and stored outside SharedPreference 
in a file attached to the application.

Any advice appreciated.  Do I need to stick with my external dialog boxes?

Thanks,

Jim

-- 
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

Reply via email to