Hello everyone, I am facing a problem when i am reading the shared preferences (defaults.xml) in Gingerbread. Following is the code snippet, what i am using.
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); mystring = prefs.getString("tag_name",default_value); When this is executed, always i am getting the default value. The same piece of code is working in Froyo. Has any one is having any idea, what is the difference between Gingerbread and Froyo in this case? Thanks in advance, Regards, Reddy -- 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