Skip to content Skip to sidebar Skip to footer

Alarmmanager.rtc Doing Too Many Updates On Wakeup

I've got a service that I run every 30 minutes via AlarmManager.RTC. If the device is asleep long enough for the service to be called twice (and thus have both of them be rescshedu

Solution 1:

Try this:

PendingIntent.FLAG_UPDATE_CURRENT

Solution 2:

Have you cancel the old one of Alarm Manager. If no means, just cancel the old one with PendingIntent

Have a look at this Commonsware Example

Post a Comment for "Alarmmanager.rtc Doing Too Many Updates On Wakeup"