On Sat, Apr 17, 2010 at 10:37 AM, Abhinav <abhinav.abhic...@gmail.com>wrote:

> Does the PreferenceManager have any role to play in the persistence?
>

Not really.


> What is the link between these three classes?
>

Look at the documentation and see how they call each other.


>  In addition, once the xml file has been loaded
> using addPreferenceFromResource()  how do I access the preferences file;
> do I create an instance of PreferenceManager and use
> the getDefaultSharedPreferences() function or directly create
> a SharedPreferences object and use the getSharedPreferences() function?
>

I use getDefaultSharedPreference() to ensure I use the same
SharedPreferences object throughout my project.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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