活动报警的Andr​​oid获取列表 [英] Android get list of active alarms

查看:200
本文介绍了活动报警的Andr​​oid获取列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在我们的应用程序来获取所有活动的报警列表中的Andr​​oid设备编程
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.

在这个问题<所描述的但是你可以通过ADB列表href=\"http://stackoverflow.com/questions/6522792/get-list-of-active-pendingintents-in-alarmmanager\">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.

这篇关于活动报警的Andr​​oid获取列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆