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

后端 未结 5 1603
小蘑菇
小蘑菇 2021-02-19 20:17

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

5条回答
  •  情话喂你
    2021-02-19 20:26

    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.

提交回复
热议问题