有没有办法在我们的应用程序来获取所有活动的报警列表中的Android设备编程programmatically.Just点我到一些链接,可以帮助我基本上是试图给用户在浏览完报警在他的设备,所以我想在该设备的所有活动报警列表的工具。
Is there any way to get a list of all the active alarms in the android device programmatically in our application programmatically.Just point me out to some links that can be of help I am basically trying to give the user the facility of viewing all the alarms in his device so i want to get a list of all the active alarms in the device.
简短的回答:你不能
报警经理没有给出知名度,目前预定系统中的报警。使用警报管理每一个应用程序必须坚持,他们设置每个报警的状态。
The alarm manager gives no visibility to the alarms currently scheduled in the system. Every app that uses alarm manager must persist the state of each alarm that they set.
在这个问题Get在AlarmManager 活跃PendingIntents列表。和一个应用程序的可能的获取系统转储,并得到警报这样但这需要根。
However you can get a list via adb as described in this question Get list of active PendingIntents in AlarmManager. And an app could get a system dump and get the alarms that way but that would require root.
上一篇:PHP:包/在64位架构的解包64位INT架构、PHP、INT
下一篇:当使用的FileOutputStream在Android上创建文件?文件、FileOutputStream、Android