Android background processing – a decision guide
If you’ve ever done anything in Android that takes more than 16 milliseconds to process then you’ve probably heard of Android services and background processing in general. Why 16 milliseconds? At Android’s refresh rate of 60 frames per second, the main thread can not be delayed by more than 16 milliseconds to avoid frame skipping and, therefore, UI lagging. The problem is – Google is constantly changing the way background processes are allowed to run. This is mostly done for…