Java tutorial
//package com.java2s; import android.content.Context; public class Main { static Context context; public static void init(Context mContext) { context = mContext.getApplicationContext(); } }