Scheduling a Task to run repeatedly in Android
Android has a built-in AlarmManager class which makes scheduling tasks very easy.
What we will do is to setup an Activity to be run at 00:01:00 every day i.e 1 minute past midnight.
There are 3 steps to doing this:
WHAT IS A PENDING INTENT
Assuming you are familiar with the concept of an Intent, a Pending Intent is granting another app the permission and...