How to change the alarm in Android?

Is there a way to pragmatically change the alarm in Android? For example, I want to create a program that will change the alarm every day 1 minute earlier, so if I set it on Friday to call at 7, on Saturday I want to call at 6 59 and Sunday at 6 58 and so on. I know how to make a program, but I don’t know what with alarm management

+3
source share
1 answer

Are you talking about adding this feature to the android android alarm app or about your own alarm app?

I suggest you take a look at the Clock source ( packages / apps / DeskClock / src / com / android / deskclock ) from your android source and understand how the app has an alarm / alarm function. There is an alarm, because alarms that can be set using the alarm manager system cannot withstand a reboot of the device.

0
source

All Articles