android.app.IntentService.onDestroy()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(151)

本文整理了Java中android.app.IntentService.onDestroy()方法的一些代码示例,展示了IntentService.onDestroy()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。IntentService.onDestroy()方法的具体详情如下:
包路径:android.app.IntentService
类名称:IntentService
方法名:onDestroy

IntentService.onDestroy介绍

暂无

代码示例

代码示例来源:origin: guolindev/booksource

@Override
public void onDestroy() {
  super.onDestroy();
  Log.d("MyIntentService", "onDestroy executed");
}

代码示例来源:origin: square/leakcanary

@Override public void onDestroy() {
 super.onDestroy();
 stopForeground(true);
}

代码示例来源:origin: TeamNewPipe/NewPipe

@Override
public void onDestroy() {
  super.onDestroy();
  stopForeground(true);
  if (fetcher != null) fetcher.dispose();
}

代码示例来源:origin: avjinder/Minimal-Todo

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

代码示例来源:origin: cSploit/android

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

代码示例来源:origin: cSploit/android

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

代码示例来源:origin: robolectric/robolectric

@Override
public void onDestroy() {
 super.onDestroy();
 transcribeWhilePaused("onDestroy");
 transcript.add("finishedOnDestroy");
}

代码示例来源:origin: westnordost/StreetComplete

@Override public void onDestroy()
{
  cancelState.set(true);
  super.onDestroy();
}

代码示例来源:origin: byhieg/easyweather

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

  }
}

代码示例来源:origin: yll2wcf/book

@Override
  public void onDestroy() {
    super.onDestroy();
    Log.i("MyIntentService","onDestroy");
  }
}

代码示例来源:origin: pinguo-zhouwei/AndroidTrainingSimples

@Override
  public void onDestroy() {
    super.onDestroy();
    Log.i(TAG,"onDestroy...");
  }
}

代码示例来源:origin: woxingxiao/GracefulMovies

@Override
  public void onDestroy() {
    super.onDestroy();
    Logy.w("LocationService", "=============== onDestroy ==============");
  }
}

代码示例来源:origin: leavesC/WifiFileTransfer

@Override
public void onDestroy() {
  super.onDestroy();
  clean();
  Log.e(TAG, "onDestroy");
}

代码示例来源:origin: HaoFeiWang/MessageRelayer

@Override
  public void onDestroy() {
    mDataBaseManager.closeHelper();
    super.onDestroy();
  }
}

代码示例来源:origin: nshmura/strictmode-notifier

@Override public void onDestroy() {
 super.onDestroy();
 log("onDestroy");
 if (proc != null) {
  proc.destroy();
  proc = null;
 }
}

代码示例来源:origin: blurpy/kouchat-android

@Override
public void onDestroy() {
  unbindService(serviceConnection);
  serviceConnection = null;
  androidUserInterface = null;
  super.onDestroy();
}

代码示例来源:origin: ManbangGroup/Phantom

@Override
public void onDestroy() {
  sendMessage("onDestroy");
  super.onDestroy();
}

代码示例来源:origin: leavesC/WifiFileTransfer

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

代码示例来源:origin: guizhigang/LGImageCompressor

@Override
public void onDestroy() {
  super.onDestroy();
  Intent intent = new Intent(Constanse.ACTION_COMPRESS_BROADCAST);
  intent.putExtra(Constanse.KEY_COMPRESS_FLAG,Constanse.FLAG_END);
  intent.putParcelableArrayListExtra(Constanse.KEY_COMPRESS_RESULT,compressResults);
  sendBroadcast(intent);
  compressResults.clear();
  Log.d(TAG,"onDestroy...");
}

代码示例来源:origin: pmbento/karmadetector

@Override
public void onDestroy() {
  //Log.d("WifiScannerService", "Going to destroy the handler");
  shouldRun = false;
  if (receiver != null) {
    unregisterReceiver(receiver);
  }
  releaseWifiLock();
  removeDecoyNetworks();
  super.onDestroy();
}

相关文章