Esempio n. 1
0
 @Override
 protected void onActivityResult(int arg0, int arg1, Intent arg2) {
   super.onActivityResult(arg0, arg1, arg2);
   if (arg2 != null && arg0 == 343 && arg1 == 0) {
     mTabHost.setCurrentTab(0);
   }
 }
Esempio n. 2
0
 @Override
 protected void onDestroy() {
   Intent intent = new Intent(this, MessageService.class);
   stopService(intent);
   super.onDestroy();
   // 清楚广告资源
   AppConnect.getInstance(this).close();
 }
Esempio n. 3
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_feed_back);
   initViews();
   initEvents();
   init();
 }
Esempio n. 4
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.activity_main);
   // GetDistance.location(mApplication,null).start();//开启定位
   UmengUpdateAgent.update(this); // 开启更新检验
   initViews();
   initEvents();
   init();
   GlobalVariable.SetArrayList();
   Intent intent = new Intent(this, MessageService.class);
   startService(intent);
 }
Esempio n. 5
0
 // 友盟统计
 @Override
 protected void onPause() {
   super.onPause();
   MobclickAgent.onPause(this);
 }