Beispiel #1
0
 @Override
 protected void onResume() {
   super.onResume();
   // 检查更新
   UpdateService updateService = UpdateService.getInstance(this);
   updateService.checkUpdate();
 }
Beispiel #2
0
  @Override
  protected void onDestroy() {
    super.onDestroy();
    stopLocation();

    quitAllQuan();
  }
Beispiel #3
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main_activity);

    initView();

    initLocation();

    updateNearByQuan();

    CacheService.registerUser(AVUser.getCurrentUser());

    // initTestData();
  }