Back to project page pinpoint-android.
The source code is released under:
MIT License
If you think the Android project pinpoint-android 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 co.islovely.pinpoint; /*from www .j av a 2 s . c om*/ import android.app.Application; import android.content.Context; public class MyApplication extends Application { private static Context CONTEXT; @Override public void onCreate() { super.onCreate(); MyApplication.CONTEXT = this.getApplicationContext(); } public static Context getAppContext() { return MyApplication.CONTEXT; } }