Android get list of active alarms

XylemRaj picture XylemRaj · Feb 22, 2014 · Viewed 25.2k times · Source

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.

Answer

Uncaught Exception picture Uncaught Exception · Mar 2, 2016

No, AFAIK you can't do that programmatically so showing that info to a user in UI is not feasible.

However for your own reference you can dump the alarm data via

adb shell dumpsys alarm

You don't need root permission for that.

But what you get from above could be very confusing to understand. In order to understand that dump completely you should check out morphatic's answer here.