public void onDestroy() { super.onDestroy(); ActivityManager.getInstance().destroy(this); }
public void onResume() { super.onResume(); ActivityManager.getInstance().setCurrentActivity(this); }
public void onCreate(Bundle bundle) { super.onCreate(bundle); ActivityManager.getInstance().push(this); }