Starting from API 19, setRepeating()
works the same way as setInexactRepeating()
.
What's the new way of setting an exact repeating alarm?
I.e. What's the API 19 version of the good old setRepeating()
? Could you please provide an example for setting an alarm at 7:30 every morning (repeating daily) on KitKat?
It doesn't exist, unfortunately. From the documentation:
In short, if you need exact repeating alams, you can create an alarm with
setExact()
, but you'll need to handle the "repeating" part manually.