threerings/playn — pull request #11 by inder123 (2012-09-19 19:09:23+00:00)
Title: Lazy initializing SharedPreferences since they can only be created after...

... Activity.onCreate method has been called.

The existing code was causing the following exception when PlayN was used in a private final field of my activity class:

09-19 18:27:46.892: E/AndroidRuntime(2778):	at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:153)