当前位置: 代码迷 >> Android >> android开机起步android.intent.action.BOOT_COMPLETED
  详细解决方案

android开机起步android.intent.action.BOOT_COMPLETED

热度:46   发布时间:2016-05-01 18:54:33.0
android开机启动android.intent.action.BOOT_COMPLETED
android开机启动android.intent.action.BOOT_COMPLETED

遇到一个问题,就是开机启动我只需要第一次,类似于开机向导一样的功能

但是每次开机的时候都会接受这个BOOT_COMPLETED

这样会有一个开机的进程,这种属于资源浪费。

我们可以setComponentEnabledSetting,节约资源。
1 楼 lerous 2012-05-24  
对于这个问题
引用
就是开机启动我只需要第一次,类似于开机向导一样的功能

能详细说下,setComponentEnabledSetting
对这个有什么用吗?~

  相关解决方案