@Override
  public void onDestroy() {
    super.onDestroy();

    mCursorSubMenus.close();
    mDatabase.close();
  }
 /* (non-Javadoc)
  * @see android.app.ListActivity#onDestroy()
  */
 @Override
 protected void onDestroy() {
   super.onDestroy();
   m_application.doDisconnect();
   m_application.makeToast("AJ disconnect done");
   unregisterReceiver(m_receiver);
 }
Example #3
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   Log.d(TAG, "Destroying helper.");
   if (mHelper != null) mHelper.dispose();
   mHelper = null;
 }
 @Override
 protected void onDestroy() {
   LogUtilities.i(getClass().getSimpleName(), "onDestroy");
   core.onDestroy();
   NowPlayingApplication.unregisterActivity(this);
   super.onDestroy();
 }
Example #5
0
  public void onDestroy() {
    super.onDestroy();

    // Replace mDbHelper as needed with your database connection, or
    // whatever wraps your database connection. (See below.)
    //        mDbHelper.close();
  }
 @Override
 public void onDestroy() {
   super.onDestroy();
   Log.d(TAG, " onDestroy ");
   libraryCursor.close();
   dbutils.close();
 }
  @Override
  protected void onDestroy() {
    Log.d(TAG, "onDestroy()");

    dismissProgressDialog();

    super.onDestroy();
  }
  @Override
  protected void onDestroy() {
    MyLog.v(TAG, "onDestroy()");

    mMemorizeEng.releaseMemorizeEng();

    super.onDestroy();
  }
 @Override
 protected void onDestroy() {
   if (cursor != null) {
     stopManagingCursor(cursor);
     cursor.close();
   }
   super.onDestroy();
 }
Example #10
0
  @Override
  public void onDestroy() {
    if (delegate != null) {
      delegate.onDestroy();
    }

    super.onDestroy();
  }
Example #11
0
 @Override
 protected void onDestroy() {
   if (progress != null) {
     progress.dismiss();
     progress = null;
   }
   super.onDestroy();
 }
Example #12
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (dbHandler != null) {
     dbHandler.close();
   }
   filterText.removeTextChangedListener(filterTextWatcher);
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (isBound) {
     unbindService(smsHandlerConnection);
     isBound = false;
   }
 }
  @Override
  protected void onDestroy() {
    super.onDestroy();

    unregisterReceiver(myReceiver);

    logger.log(Level.INFO, "Destroy activity!");
  }
Example #15
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mAdapter != null) {
     Log.i(LOG_TAG, "Close adapter");
     mAdapter.close();
   }
 }
Example #16
0
 @Override
 public void onDestroy() {
   Log.d(TAG, "*** onDestroy ***");
   this.mPrefs.unregisterOnSharedPreferenceChangeListener(this);
   if (this.mDmesgLogHandler.getIsRunning()) {
     this.mDmesgLogHandler.Stop(); // Die thread, mofo!
   }
   super.onDestroy();
 }
Example #17
0
 @Override
 public void onDestroy() {
   Log.i(TAG, "onDestroy()");
   super.onDestroy();
   if (mBroadcastReceiver != null) {
     unregisterReceiver(mBroadcastReceiver);
     mBroadcastReceiver = null;
   }
 }
  @Override
  public void onDestroy() {

    Log.v(TAG, "onDestroy()");

    this.unregisterReceiver(mReceiver);

    super.onDestroy();
  }
Example #19
0
 @Override
 protected void onDestroy() {
   if (this.localVideoSource != null) {
     this.localVideoSource.stop();
   }
   if (this.pnRTCClient != null) {
     this.pnRTCClient.onDestroy();
   }
   super.onDestroy();
 }
  @Override
  public void onDestroy() {
    super.onDestroy();

    conexionBD = null;
    alertDialog = null;
    arrayCupos = null;
    adapter = null;
    listViewBrillas = null;
  }
  /** @see ListActivity#onDestroy() */
  @Override
  protected void onDestroy() {

    Map<String, Connection> connections = Connections.getInstance(this).getConnections();

    for (String s : connections.keySet()) {
      connections.get(s).removeChangeListener(changeListener);
    }
    super.onDestroy();
  }
 @Override
 protected void onDestroy() {
   if (_qrCodeDialog != null) {
     _qrCodeDialog.dismiss();
   }
   if (_addDialog != null && _addDialog.isShowing()) {
     _addDialog.dismiss();
   }
   super.onDestroy();
 }
  @Override
  protected void onDestroy() {
    super.onDestroy();

    scanLeDevice(false);
    mLeDeviceListAdapter.clear();
    mBLE_send.disconnect();
    mBLE_reciv.disconnect();
    mBLE_send.close();
    mBLE_reciv.close();
  }
Example #24
0
  @Override
  public void onDestroy() {
    if (adManager != null) {
      adManager.destroy();
      adManager = null;
    }

    loadingView = null;

    super.onDestroy();
  }
  @Override
  protected void onDestroy() {
    super.onDestroy();

    if (mTask != null && mTask.getStatus() != GesturesLoadTask.Status.FINISHED) {
      mTask.cancel(true);
      mTask = null;
    }

    cleanupRenameDialog();
  }
Example #26
0
 /** M: Unregister sdcard listener */
 @Override
 protected void onDestroy() {
   if (mIsBroadcastReg == true) {
     unregisterReceiver(mScanListener);
   }
   if (mDrmClient != null) {
     mDrmClient.release();
     mDrmClient = null;
   }
   super.onDestroy();
 }
Example #27
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (isFinishing()) {
     downloadFileHelper.setInterruptDownloading(true);
   }
   if (textWatcher != null) {
     EditText filterText = (EditText) findViewById(R.id.search_box);
     filterText.removeTextChangedListener(textWatcher);
   }
   downloadListIndexThread.setUiActivity(null);
 }
 @Override
 protected void onDestroy() {
   super.onDestroy();
   ArrayList<RouteInfoLocation> lastEditedRoute = new ArrayList<RouteInfoLocation>();
   for (int i = 0; i < intermediateListAdapater.getCount(); i++) {
     RouteInfoLocation item = intermediateListAdapater.getItem(i);
     if (item != null) {
       lastEditedRoute.add(item);
     }
   }
   TransportRouteHelper.getInstance().setRoute(lastEditedRoute);
 }
Example #29
0
 @Override
 protected void onDestroy() {
   try {
     eventManager.fire(new OnDestroyEvent());
   } finally {
     try {
       RoboGuice.destroyInjector(this);
     } finally {
       super.onDestroy();
     }
   }
 }
Example #30
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   final SmartFoxClient sfs = ServerConnection.mClient;
   sfs.removeEventListener(SFSEvent.onConnection, this);
   sfs.removeEventListener(SFSEvent.onConnectionLost, this);
   sfs.removeEventListener(SFSEvent.onLogin, this);
   sfs.removeEventListener(SFSEvent.onRoomListUpdate, this);
   sfs.removeEventListener(SFSEvent.onJoinRoom, this);
   sfs.removeEventListener(SFSEvent.onRoomAdded, this);
   sfs.removeEventListener(SFSEvent.onRoomDeleted, this);
   sfs.removeEventListener(SFSEvent.onPublicMessage, this);
 }