Upload an image in background using WorkManager

We always think about which services to use for background image upload with better performance. Earlier we had AlarmManager, JobScheduler, FirebaseJobDispatcher for scheduling the background tasks. But the issues were, JobScheduler available only for API >= 21 and FirebaseJobDispatcher for backward compatibility. So I had to understand which method to use when. But when I came across WorkManager library as part … Continue reading Upload an image in background using WorkManager

Improvement Over Android’s Background Processing.

Problems that aroused, since the "Oreo released" - Whenever we developers needed to execute a long-running operation in the background, we would choose one of the following options : a) ThreadPools b) RxJava / Coroutinesc) ForegroundService d) JobSchedulere) Alarm Manager + Broadcast receivers Above options are helpful but sometimes put us in certain situations to … Continue reading Improvement Over Android’s Background Processing.