I don't know for sure, but have you perhaps changed the datatype for that key at some point? If you have then that would definitely cause it to return false.
You might want to try completely uninstalling your application and reinstalling to see if that fixes it... If that is the case, then you would want to change the key to avoid problems if others are already using your app. Thanks, Justin ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Thu, Jul 22, 2010 at 12:35 PM, TreKing <treking...@gmail.com> wrote: > On Thu, Jul 22, 2010 at 1:06 PM, Bret Foreman <bret.fore...@gmail.com>wrote: > >> Note that the key/value pair Some_String/someInt does not exist >> in preferences.xml and I presume the editor should create it. >> > > That should be the case. > > >> Perhaps that presumption is wrong and that's why the commit is failing? >> > > Don't think so. > > If so, how do I create a new key/value pair in the preferences, one that >> is not visible to the user? >> > > I would just use PreferenceManager.getDefaultPreferences() (or whatever it > is). > > >> Do I need to create a separate preferences file for that purpose or will >> the default one support that? >> > > The default should be fine. > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en