Try PreferencesManager.GetSharedPreferences instead.

/dpb
On Oct 3, 2011 4:57 PM, "Sylvain Bernard" <[email protected]> wrote:
> Android newbie question...
>
> I've got a settings screen using a PreferenceActivity which transparently
> read/write my preferences defined in xml. I want to be able to read off
> those preferences from another activity in my OnStart(). To do so, I'm
> using the GetPreferences() and then query each preference using its
> corresponding key defined in the xml, e.g. GetString("mykey", "Default
> String"). However, I'm always getting the default value. What am I
> missing?
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to