예제 #1
0
 @Override
 protected void onPause() {
   // TODO Auto-generated method stub
   super.onPause();
   mMapView.onPause();
   mLocationClient.stop();
 }
예제 #2
0
 @Override
 public void onPause() {
   super.onPause();
   // 在activity执行onPause时执行mMapView. onPause (),实现地图生命周期管理
   mMapView.onPause();
   MobclickAgent.onPause(this);
 }
예제 #3
0
 @Override
 protected void onPause() {
   // TODO Auto-generated method stub
   mMapView.onPause();
   if (mMapManager != null) {
     mMapManager.stop();
   }
   super.onPause();
 }
예제 #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();
  }
예제 #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();
  }
예제 #7
0
 @Override
 protected void onPause() {
   super.onPause();
   mapView.onPause();
 }
 @Override
 public void onPause() {
   super.onPause();
   // 在activity执行onPause时执行mMapView. onPause (),实现地图生命周期管理
   mMapView.onPause();
 }
예제 #9
0
 @Override
 protected void onPause() {
   // TODO Auto-generated method stub
   super.onPause();
   mapview.onPause();
 }
예제 #10
0
 @Override
 protected void onPause() {
   if (mapView != null) mapView.onPause();
   super.onPause();
 }
예제 #11
0
 @Override
 protected void onPause() {
   super.onPause();
   mMapView.onPause();
   lastLocation = null;
 }
예제 #12
0
 public void onPause() {
   mMapView.onPause();
 }
예제 #13
0
 @Override
 protected void onPause() {
   /** MapView的生命周期与Activity同步,当activity挂起时需调用MapView.onPause() */
   mMapView.onPause();
   super.onPause();
 }