简体   繁体   English

强制停止后,Android Phonegap中未触发下一个通知

[英]After force stop, next notification not triggered in android phonegap

I am using local notification plugin in my application. 我在应用程序中使用本地通知插件。 Here i set notification like alarm. 在这里,我设置了警报之类的通知。 Its working fine. 它的工作正常。 what ever time i set in my database, alarms are working fine. 每当我在数据库中进行设置时,警报都可以正常工作。 But while i force stop the application(Setting->Applications->Manage applications->MyApplication->ForceStop), next alarm is not coming. 但是,当我强制停止应用程序(设置->应用程序->管理应用程序-> MyApplication-> ForceStop)时,下一个警报不会出现。 any one can help me?.. i tried with following link, 任何人都可以帮助我吗?..我尝试了以下链接,
http://www.javacodegeeks.com/2012/05/android-broadcast-receiver-change-in.html but still is not working. http://www.javacodegeeks.com/2012/05/android-broadcast-receiver-change-in.html,但仍无法正常工作。

force stop app will remove alarm associated with the app 强制停止应用程序将删除与该应用程序关联的警报

so your pending task will never be done. 因此您的待处理任务将永远不会完成。

read in details: http://blog.csdn.net/gemmem/article/details/8858461 详细阅读: http : //blog.csdn.net/gemmem/article/details/8858461

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM