@Override
 protected void onResume() {
   super.onResume();
   if (EcmobileManager.getUmengKey(this) != null) {
     MobclickAgent.onPageStart("CategoryList");
     MobclickAgent.onResume(this, EcmobileManager.getUmengKey(this), "");
   }
 }
 @Override
 protected void onPause() {
   super.onPause();
   if (EcmobileManager.getUmengKey(this) != null) {
     MobclickAgent.onPageEnd("CategoryList");
     MobclickAgent.onPause(this);
   }
 }