On Fri, Jan 28, 2011 at 2:40 AM, Andreas Hedin <[email protected]> wrote: > Hi everyone! > > I'm using SharedPreferences to store the user's settings in my app. > > I have registered a onSharedPreferencesChangedListener and I can get > the values from it without problem. > But if I try to see what the "key" parameter is (for example comparing > it to my keys to see which value was changed) the whole app crashes. > Same thing if I try to print the key-value using the Log. > > Anyone knows why this happens?
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your "crash". -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2 -- 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

