Back to project page CATaZine-Live.
The source code is released under:
GNU General Public License
If you think the Android project CATaZine-Live listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.melegy.catazine; /*from w ww . java 2 s . c o m*/ import com.melegy.catazine.utils.PrefUtils; import android.app.Application; import android.content.Context; public class MainApplication extends Application { private static Context context; @Override public void onCreate() { super.onCreate(); context = getApplicationContext(); PrefUtils.putBoolean(PrefUtils.IS_REFRESHING, false); // init } public static Context getContext() { return context; } }