@Override
 public void onDestroy() {
   Log.w("SecureSMS", "onDestroy...");
   unregisterReceiver(killActivityReceiver);
   MemoryCleaner.clean(masterSecret);
   super.onDestroy();
 }
Esempio n. 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();
 }
Esempio n. 3
0
 @Override
 protected void onDestroy() {
   // TODO Auto-generated method stub
   super.onDestroy();
   unregisterReceiver(broadcastReceiver_socket_userStatus);
   unregisterReceiver(broadcastReceiver_lost);
 }
Esempio n. 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();
 }
Esempio n. 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;
   }
 }
Esempio n. 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);
   }
 }
Esempio n. 10
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   resetInternals();
   try {
     unbindService(connection);
   } catch (Exception e) {
   }
 }
Esempio n. 11
0
  @Override
  protected void onDestroy() {
    super.onDestroy();

    try {
      unregisterReceiver(messageReceiver);
    } catch (IllegalArgumentException e) {
    }
  }
Esempio n. 12
0
 @Override
 protected void onDestroy() {
   if (communicator != null) {
     communicator.sendMessage(new ExitMessage());
     communicator.stop();
     remoteViewCommunicator.stop();
   }
   velocityTracker.recycle();
   super.onDestroy();
 }
Esempio n. 13
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   if (mDownloadConnection != null) {
     unbindService(mDownloadConnection);
     mDownloadConnection = null;
   }
   if (mUploadConnection != null) {
     unbindService(mUploadConnection);
     mUploadConnection = null;
   }
 }
Esempio n. 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();
  }
Esempio n. 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;
 }
Esempio n. 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();
 }
Esempio n. 19
0
 @Override
 protected void onDestroy() {
   unregisterReceiver(receiver);
   super.onDestroy();
 }
Esempio n. 20
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   isActive = false;
   System.gc();
 }
Esempio n. 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();
 }