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