3 ms·
Indeed, the alarm service does exist, but the API call you'd use (android.app.AlarmManager.setInexactRepeating()) doesn't go nearly as far as he is suggesting a
by adrianmonk 16y ago
Indeed, the alarm service does exist, but the API call you'd use (android.app.AlarmManager.setInexactRepeating()) doesn't go nearly as far as he is suggesting about being smart with power/bandwidth/CPU usage. Although it is clever how it will "adjust alarms' phase to cause them to fire simultaneously, avoiding waking the device from sleep more than necessary".