开发者

notification launched at boot

Because Alarms are deleted tu开发者_如何学Pythonrning off the device I need to reset them at boot. I'm doing that in a service at BOOT_COMPLETED, and it works. The issue cames when the time to fire the alarm is achieved and the alarm is directly launched. This alarm has to add a notification and I can see this notification on my emulator, but just for a few seconds, because is automatically deleted by the system. Do you know the reason for that? Is it something related with the boot process? I have to shut down my emulator closing the emulator window because the turn off button takes ages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜