Java tutorial
//package com.java2s; import android.app.Application; import android.content.Context; public class Main { public static Context mApplicationContent; public static void initialize(Application app) { mApplicationContent = app.getApplicationContext(); } }