androidalarms

Get all alarms saved in the alarm application


Is it by any chance possible to get a list of alarms saved in the alarm application of android ? I am making an application which just needs to show the alarms set in the Alarm application.

Thanx


Solution

  • There is a good explanation on this post regarding this. There are no guarantees that the AlarmClock app will be on every device your app is installed on. For example, many of the HTC phones replace it with HTC's own "World Clock" app.

    However, assuming the stock AlarmClock app is present, you should be able to get a cursor from its content provider. See this project as an example.