@Override
 public void onDestroy() {
   Log.w("SecureSMS", "onDestroy...");
   unregisterReceiver(killActivityReceiver);
   MemoryCleaner.clean(masterSecret);
   super.onDestroy();
 }
示例#2
0
 @Override
 protected void onDestroy() {
   // Workaround until there's a way to detach the Activity from Crouton while
   // there are still some in the Queue.
   Crouton.clearCroutonsForActivity(this);
   super.onDestroy();
 }
示例#3
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   unregisterReceiver(broadcastReceiver_socket_userStatus);
   unregisterReceiver(broadcastReceiver_lost);
 }
示例#4
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   // Partly from http://stackoverflow.com/a/5069354
   unbindDrawables(((ViewGroup) findViewById(android.R.id.content)).getChildAt(0));
   System.gc();
 }
示例#5
0
 @Override
 public void onDestroy() {
   if (adview != null) {
     adview.destroy();
   }
   super.onDestroy();
 }
  // Code from Stackoverflow to reduce memory problems
  // onDestroy() and unbindDrawables() methods taken from
  // http://stackoverflow.com/a/6779067
  @Override
  protected void onDestroy() {
    super.onDestroy();

    unbindDrawables(findViewById(R.id.SoundrecorderActivityRoot));
    System.gc();
  }
  @Override
  public void onDestroy() {
    super.onDestroy();

    m_readableDb.close();
    m_writableDb.close();
  }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (isBound) {
     unbindService(mConnection);
     isBound = false;
   }
 }
示例#9
0
 /**
  * Aktiviteetti tuhotaan. Samalla suljetaan GPS-tietoja välittävä GpsDataCollectorService-palvelu.
  */
 @Override
 public void onDestroy() {
   super.onDestroy();
   if (isFinishing()) {
     Log.v(STATUS_TAG, "stopping service");
     stopService(GpsDataCollectorService.GPS_SERVICE_INTENT);
   }
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   resetInternals();
   try {
     unbindService(connection);
   } catch (Exception e) {
   }
 }
  @Override
  protected void onDestroy() {
    super.onDestroy();

    try {
      unregisterReceiver(messageReceiver);
    } catch (IllegalArgumentException e) {
    }
  }
示例#12
0
 @Override
 protected void onDestroy() {
   if (communicator != null) {
     communicator.sendMessage(new ExitMessage());
     communicator.stop();
     remoteViewCommunicator.stop();
   }
   velocityTracker.recycle();
   super.onDestroy();
 }
示例#13
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   if (mDownloadConnection != null) {
     unbindService(mDownloadConnection);
     mDownloadConnection = null;
   }
   if (mUploadConnection != null) {
     unbindService(mUploadConnection);
     mUploadConnection = null;
   }
 }
示例#14
0
  @Override
  protected void onDestroy() {
    // Unbind to service
    mService.unregisterObserver(mObserver);
    unbindService(conn);

    // Unregister bluetooth receiver
    unregisterReceiver(bluetoothReceiver);

    listFragment.notifyServiceUnbound();
    chatFragment.notifyServiceUnbound();

    super.onDestroy();
  }
示例#15
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   System.out.println("ONDESTROY");
   SharedPreferences sets = getSharedPreferences(PREFS_NAME, 0);
   SharedPreferences.Editor editor = sets.edit();
   // editor.putInt("Favorit", favorit);
   editor.putLong("Update", timeupdate);
   editor.commit();
   mPagerActionbar = null;
   mAdapter = null;
   Fragment_Spielplan.spielplan = null;
   Fragment_Ergebnisse.ergebnisse = null;
   Fragment_Tabelle.tabelle = null;
 }
示例#16
0
 @Override
 public void onDestroy() {
   tracker.stopSession();
   super.onDestroy();
 }
  @Override
  protected void onDestroy() {
    super.onDestroy();

    this.activityHelper.onDestroy(this);
  }
 @Override
 public void onDestroy() {
   super.onDestroy();
   db.close();
 }
示例#19
0
 @Override
 protected void onDestroy() {
   unregisterReceiver(receiver);
   super.onDestroy();
 }
示例#20
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   isActive = false;
   System.gc();
 }
示例#21
0
 @Override
 protected void onDestroy() {
   mHandler.removeCallbacks(mRun);
   super.onDestroy();
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   mAccountsDbAdapter.close();
 }
 @Override
 protected void onDestroy() {
   Log.i("SWall", TAG + ":onDestroy");
   super.onDestroy();
 }