which permissions an android application need in order to use the Alarm Manager Service?

tomtu picture tomtu · Jun 28, 2012 · Viewed 23.6k times · Source

If an android application wants to use the Alarm Manager Service, then which permissions the application needs to have?

I have tested that it seems that application does not need to have any permission to use the Alarm Manager Service.

Is that true?

Answer

Cristian picture Cristian · Jun 28, 2012

Yes, it is true. You do not have to add any special service. Keep in mind that when the handset is restarted the alarms you have set will be lost, so you may want to re-schedule them at boot time, which requires the android.permission.RECEIVE_BOOT_COMPLETED permission.