Пример #1
0
 @Override
 protected void onResume() {
   super.onResume();
   Const.Application.setCurrentActivity(this);
   Const.Application.setActivityOnStart(this);
   MobclickAgent.onPageStart(this.getClass().getSimpleName());
   MobclickAgent.onResume(this);
   //		DebugLogger.write("onResume " + this);
 }
Пример #2
0
 @Override
 protected void onPause() {
   //		DebugLogger.write("onPause " + this);
   if (mLoading != null) {
     mLoading.forceStop();
   }
   MobclickAgent.onPause(this);
   MobclickAgent.onPageEnd(this.getClass().getSimpleName());
   Const.Application.setActivityOnStop(this);
   super.onPause();
 }