Trying to start a service on boot on Android

后端 未结 16 1518
慢半拍i
慢半拍i 2020-11-21 06:41

I\'ve been trying to start a service when a device boots up on android, but I cannot get it to work. I\'ve looked at a number of links online but none of the code works. Am

16条回答
  •  梦谈多话
    2020-11-21 07:14

    I found out just now that it might be because of Fast Boot option in Settings > Power

    When I have this option off, my application receives a this broadcast but not otherwise.

    By the way, I have Android 2.3.3 on HTC Incredible S.

    Hope it helps.

提交回复
热议问题