package org.app.application;

import android.app.Application;
import android.content.Context;

public class ApplicationLoader extends Application {

    public static Context applicationContext;

    @Override
    public void onCreate() {
        super.onCreate();

        applicationContext = getApplicationContext();
    }
}

package org.app.application;

import android.app.Application;
import android.content.Context;

public class ApplicationLoader extends Application {

    public static Context applicationContext;

    @Override
    public void onCreate() {
        super.onCreate();

        applicationContext = getApplicationContext();
    }
}
Update application class