Example #1
0
 @Override
 protected void onPause() {
   // TODO Auto-generated method stub
   super.onPause();
   mMapView.onPause();
   mLocationClient.stop();
 }
 @Override
 public void onPause() {
   super.onPause();
   // 在activity执行onPause时执行mMapView. onPause (),实现地图生命周期管理
   mMapView.onPause();
   MobclickAgent.onPause(this);
 }
Example #3
0
 @Override
 protected void onPause() {
   // TODO Auto-generated method stub
   mMapView.onPause();
   if (mMapManager != null) {
     mMapManager.stop();
   }
   super.onPause();
 }
Example #4
0
 @Override
 protected void onPause() {
   mMapView.onPause();
   if (mLocClient != null) {
     mLocClient.stop();
   }
   super.onPause();
   lastLocation = null;
 }
  @Override
  protected void onPause() {
    Log.v(Constant.TAG, "SetStarPlaceActivity:onPause");
    mapView.onPause();

    // 销毁定位
    mLocationClient.stop();

    super.onPause();
  }
Example #6
0
  @Override
  protected void onPause() {
    mMapView.onPause();
    if (mLocClient != null) {
      mLocClient.stop();
    }
    lastLocation = null;
    Log.i(TAG, "[ACTIVITY] onPause");
    if (mIsRunning) {
      unbindStepService();
    }
    if (mQuitting) {
      mPedometerSettings.saveServiceRunningWithNullTimestamp(mIsRunning);
    } else {
      mPedometerSettings.saveServiceRunningWithTimestamp(mIsRunning);
    }

    super.onPause();
    savePaceSetting();
  }
Example #7
0
 @Override
 protected void onPause() {
   super.onPause();
   mapView.onPause();
 }
 @Override
 public void onPause() {
   super.onPause();
   // 在activity执行onPause时执行mMapView. onPause (),实现地图生命周期管理
   mMapView.onPause();
 }
Example #9
0
 @Override
 protected void onPause() {
   // TODO Auto-generated method stub
   super.onPause();
   mapview.onPause();
 }
Example #10
0
 @Override
 protected void onPause() {
   if (mapView != null) mapView.onPause();
   super.onPause();
 }
Example #11
0
 @Override
 protected void onPause() {
   super.onPause();
   mMapView.onPause();
   lastLocation = null;
 }
Example #12
0
 public void onPause() {
   mMapView.onPause();
 }
 @Override
 protected void onPause() {
   /** MapView的生命周期与Activity同步,当activity挂起时需调用MapView.onPause() */
   mMapView.onPause();
   super.onPause();
 }