Move this inside onCreate.

24.03.2011 13:17, MattClark пишет:
SharedPreferences settings =
getSharedPreferences("AppSettings", 0);

Member initializers are executed when the object instance is constructed, which may be too early in the Android-specific lifecycle.

-- Kostya

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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

Reply via email to