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

    mCursorSubMenus.close();
    mDatabase.close();
  }
Exemplo n.º 2
0
 /* (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);
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
  }
Exemplo n.º 6
0
 @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();
 }
Exemplo n.º 10
0
  @Override
  public void onDestroy() {
    if (delegate != null) {
      delegate.onDestroy();
    }

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

    unregisterReceiver(myReceiver);

    logger.log(Level.INFO, "Destroy activity!");
  }
Exemplo n.º 15
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mAdapter != null) {
     Log.i(LOG_TAG, "Close adapter");
     mAdapter.close();
   }
 }
Exemplo n.º 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();
 }
Exemplo n.º 17
0
 @Override
 public void onDestroy() {
   Log.i(TAG, "onDestroy()");
   super.onDestroy();
   if (mBroadcastReceiver != null) {
     unregisterReceiver(mBroadcastReceiver);
     mBroadcastReceiver = null;
   }
 }
Exemplo n.º 18
0
  @Override
  public void onDestroy() {

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

    this.unregisterReceiver(mReceiver);

    super.onDestroy();
  }
Exemplo n.º 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();
  }
Exemplo n.º 22
0
 @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();
  }
Exemplo n.º 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();
  }
Exemplo n.º 26
0
 /** M: Unregister sdcard listener */
 @Override
 protected void onDestroy() {
   if (mIsBroadcastReg == true) {
     unregisterReceiver(mScanListener);
   }
   if (mDrmClient != null) {
     mDrmClient.release();
     mDrmClient = null;
   }
   super.onDestroy();
 }
Exemplo n.º 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);
 }
Exemplo n.º 29
0
 @Override
 protected void onDestroy() {
   try {
     eventManager.fire(new OnDestroyEvent());
   } finally {
     try {
       RoboGuice.destroyInjector(this);
     } finally {
       super.onDestroy();
     }
   }
 }
Exemplo n.º 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);
 }