package com.example; import android.app.Application; import android.content.res.Configuration; import com.example.ele_me.image.ImageLoaderConfig; import com.example.ele_me.util.Constants; public class BaseApplication extends Application { private String jumpType=""; private static BaseApplication instance; @Override public void onConfigurationChanged(Configuration newConfig) { // TODO Auto-generated method stub super.onConfigurationChanged(newConfig); } @Override public void onCreate() { // TODO Auto-generated method stub super.onCreate(); ImageLoaderConfig.initImageLoader(this, Constants.BASE_IMAGE_CACHE); } @Override public void onLowMemory() { // TODO Auto-generated method stub super.onLowMemory(); } @Override public void onTerminate() { // TODO Auto-generated method stub super.onTerminate(); } public String getJumpType() { return jumpType; } public void setJumpType(String jumpType) { this.jumpType = jumpType; } }