Massimo Barbera wrote:
> For testing purposes I have changed the value of one preference
> (android:key="my_value") from a class external to my
> PreferenceActivity, trough editor.putBoolean("my_value", value);
>
> now each time the PreferenceActivity is started, I have an exception.
>
> How can I reset "my_value" ?
Manually, you can reset it by deleting the preferences data in your
emulator -- it's an XML file found in:
/data/data/your.package.name.here/shared_preferences
You can use adb shell, DDMS's File Explorer, or the like to get rid of
the file.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---