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

Everything About Android’s In-App Update API

Being a developer, I would always want that the user should have latest/updated version of the app. After all, a happy and satisfied user is the measure of a good app. 🙂 But there are some barriers which come between the user and the latest version of the app. For example, automatic updates may only … Continue reading Everything About Android’s In-App Update API

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.