Tag archives for JobScheduler
Schedule tasks on Android Lollipop with JobScheduler API
Before Android Lollipop , there was just one solution to schedule tasks on Android. You must use the AlarmManager system service acquired thanks to the following method call : (AlarmManager) getSystemService(); The AlarmManager was functional but had some major disadvantages. First, it doesn’t consider if the device is connected to a power plug, idle or connected to a unmetered network.…