On Tue, Mar 16, 2010 at 5:33 PM, Pete <[email protected]> wrote: > I am finding that any data that I store from the first activity, my > bespoke preference screen which manually adds the data using a > StoredPreferences.Editor instance is overwritten once the user selects > an option in my activity that extends PreferenceActivity. >
Are you calling commit() on the editor to actually save your preferences? Are you sure both Activities are using the same SharedPreferences object (the default global one)? What do you mean "overwritten"? Are you using the same keys to store different things in both activities? Are the first set of values being set to default? What happens if you use the PreferenceActivity first and then your custom one? Does that overwrite the PreferenceActivity settings? ------------------------------------------------------------------------------------------------- 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 [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

