Back to project page androidcodes.
The source code is released under:
GNU General Public License
If you think the Android project androidcodes 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.app.citypediav2; // w w w . ja v a2 s .co m import android.app.Application; import android.content.Context; import com.app.citypediav2.utils.PrefUtils; public class MainApplication extends Application { private static Context context; @Override public void onCreate() { super.onCreate(); context = getApplicationContext(); PrefUtils.putBoolean(PrefUtils.IS_REFRESHING, false); } public static Context getContext() { return context; } }