Back to project page android-component-location.
The source code is released under:
MIT License
If you think the Android project android-component-location 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.yingchn.android; //w ww . jav a 2s . c o m import android.content.Context; public class AppContext { private static Context mContext = null; public static void setContext(Context paramContext){ mContext = paramContext; } public static Context getContext(){ return mContext; } }