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

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

    initView();

    initLocation();

    updateNearByQuan();

    CacheService.registerUser(AVUser.getCurrentUser());

    // initTestData();
  }