I need to trigger a block of code after 20 minutes from the AlarmManager being set.
AlarmManager
Can someone show me sample code on how to use an AlarmManager<
AlarmManager<
I wanted to comment but <50 rep, so here goes. Friendly reminder that if you're running on 5.1 or above and you use an interval of less than a minute, this happens:
Suspiciously short interval 5000 millis; expanding to 60 seconds
See here.