package edu.rutgers.css.Rutgers;

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

import edu.rutgers.css.Rutgers.api.Analytics;

public class MyApplication extends Application {

    private static final String TAG = "RutgersApplication";

    private static Context context;

    public void onCreate() {
        super.onCreate();
        MyApplication.context = getApplicationContext();

        Log.v(TAG, "Created");
        // Queue "app launched" event
        Analytics.queueEvent(this, Analytics.LAUNCH, null);
    }

    public static Context getAppContext() {
        return MyApplication.context;
    }
}
@@ -117,16 +117,70 @@
 l.Log;%0A%0A
+import com.androidquery.callback.BitmapAjaxCallback;%0A%0A
 import e
@@ -217,16 +217,16 @@
 lytics;%0A
-
 %0Apublic 
@@ -366,16 +366,30 @@
 ntext;%0A%0A
+    @Override%0A
     publ
@@ -517,19 +517,32 @@
 G, %22
-Crea
+Application star
 ted%22);%0A
+%0A
     
@@ -642,16 +642,153 @@
 %0A    %7D%0A%0A
+    @Override%0A    public void onLowMemory() %7B%0A        // Remove images from memory cache%0A        BitmapAjaxCallback.clearCache();%0A    %7D%0A%0A
     publ
@@ -861,15 +861,16 @@
 ontext;%0A
-
     %7D%0A
+%0A
 %7D

Clear image cache for onLowMemory()