There are times when an app needs to run at specific times without user intervention. Something very similar to cronjobs in Linux and Scheduled Tasks in Windows. 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. …
↧