Beispiel #1
0
 @Override
 protected void onPause() {
   if (mSpinner != null) {
     mSpinner.dismiss();
   }
   super.onPause();
 }
 @Override
 protected void onPause() {
   super.onPause();
   if (mGoogleApiClient != null && mGoogleApiClient.isConnected()) {
     mGoogleApiClient.disconnect();
   }
 }
 @Override
 protected void onPause() {
   if (mMapManager != null) {
     mMapManager.onPause();
   }
   super.onPause();
 }
Beispiel #4
0
 @Override
 protected void onPause() {
   super.onPause();
   if (dialog != null) {
     dialog.dismiss();
   }
 }
  @Override
  protected void onPause() {
    super.onPause();

    // UNregister the receiver
    unregisterReceiver(receiver); //
  }
 @Override
 protected void onPause() {
   super.onPause();
   if (mDownloadPartyListAsync != null) {
     mDownloadPartyListAsync.cancel(true);
   }
 }
 @Override
 protected void onPause() {
   topLayout.setVisibility(View.VISIBLE);
   unregisterReceiver(broadcastReceiver);
   super.onPause();
   MobclickAgent.onPause(this);
 }
 @Override
 protected void onPause() {
   RecordVoiceBtnController.mIsPressed = false;
   JMessageClient.exitConversaion();
   Log.i(TAG, "[Life cycle] - onPause");
   super.onPause();
 }
 @Override
 protected void onPause() {
   if (mNearbyCapable) {
     mDeviceManager.stopSearchingForDevices();
   }
   super.onPause();
 }
 public void onPause() {
   super.onPause();
   MobclickAgent.onPageEnd(
       "SplashScreen"); // (仅有Activity的应用中SDK自动调用,不需要单独写)保证 onPageEnd 在onPause 之前调用,因为 onPause
                        // 中会保存信息
   MobclickAgent.onPause(this);
 }
  @Override
  protected void onPause() {
    super.onPause();

    // unregister timeline receiver
    unregisterReceiver(timelineReceiver);
  }
 @Override
 protected void onPause() {
   super.onPause();
   MobclickAgent.onPageEnd(
       "我的助人页"); // (仅有Activity的应用中SDK自动调用,不需要单独写)保证 onPageEnd 在onPause 之前调用,因为 onPause
   // 中会保存信息。"SplashScreen"为页面名称,可自定义
   MobclickAgent.onPause(this);
 }
Beispiel #13
0
 @Override
 protected void onPause() {
   super.onPause();
   try {
     progress = videoView.getCurrentPosition();
   } catch (Exception e) {
   }
 }
 @Override
 protected void onPause() {
   super.onPause();
   if (mWakeLock != null) {
     mWakeLock.release();
     mWakeLock = null;
   }
 }
Beispiel #15
0
  @Override
  protected void onPause() {
    super.onPause();

    if (!this.mPaused) {
      this.doPause();
    }
  }
Beispiel #16
0
 @Override
 protected void onPause() {
   mMapView.onPause();
   if (mLocClient != null) {
     mLocClient.stop();
   }
   super.onPause();
   lastLocation = null;
 }
  @Override
  protected void onPause() {
    super.onPause();

    if (updateReciver != null) {
      unregisterReceiver(updateReciver);
      updateReciver = null;
    }
  }
  @Override
  protected void onPause() {
    super.onPause();

    // use this method to disconnect from speech recognition service
    // Not destroying the SpeechRecognition object in onPause method would block other apps from
    // using SpeechRecognition service
    if (aiService != null) {
      aiService.pause();
    }
  }
 @Override
 public void onPause() {
   super.onPause();
   if (player != null) {
     try {
       player.stop();
     } catch (IllegalStateException e) {
     }
     player.release();
     player = null;
   }
 }
 @Override
 protected void onPause() {
   if (task != null) {
     task.cancel();
     task = null;
   }
   if (timer != null) {
     timer.cancel();
     timer.purge();
     timer = null;
   }
   super.onPause();
 }
  @Override
  public void onPause() {
    super.onPause();

    this.releaseMediaPlayer();
    if (this.getLanguagesTask != null) {
      this.getLanguagesTask = null;
    }

    if (this.getSpeechTask != null) {
      this.getSpeechTask = null;
    }
  }
  @Override
  protected void onPause() {
    super.onPause();

    if (mService != null) {
      mService.disconnectall();

      if (mService.isScanning()) {
        progressBar.setVisibility(View.GONE);
        scanImage.setVisibility(View.VISIBLE);
        mService.stopScan();
      }
    }
    closeDialog();
  }
 @Override
 protected void onPause() {
   // TODO Auto-generated method stub
   super.onPause();
   if (NFCAdapter != null) NFCAdapter.disableForegroundDispatch(this);
 }
 @Override
 protected void onPause() {
   super.onPause();
 }
Beispiel #25
0
 @Override
 protected void onPause() {
   super.onPause();
   if (progressDialog != null) progressDialog.dismiss();
   Log.d(Constants.DEBUG, "paused mCurrentPhotoPath " + mCurrentPhotoPath);
 }
 @Override
 public void onPause() {
   super.onPause();
 }
 @Override
 public void onPause() {
   super.onPause();
   // 在activity执行onPause时执行mMapView. onPause (),实现地图生命周期管理
   mMapView.onPause();
 }
 public void onPause() {
   super.onPause();
   getGlobalState().getRequestQueue().setPaused(this, true);
 }
Beispiel #29
0
 protected void onPause() {
   super.onPause();
   for (BaseSensor sensor : sensors) sensor.finalize();
 }
Beispiel #30
0
 @Override
 protected void onPause() {
   mHandler.removeCallbacks(runRssi);
   super.onPause();
 }