WorkManager
isn’t appropriate for work that needs to happen at a particular time.
You should use AlarmManager
, and specifically AlarmManagerCompat.setExactAndAllowWhileIdle(), to get a callback at a specific time.
More Related Contents:
- Android. Is WorkManager running when app is closed?
- What is AndroidX?
- Can I use library that used android support with Androidx projects.
- Schedule a work on a specific time with WorkManager
- Jetpack Compose – Order of Modifiers
- Fragments destroyed / recreated with Jetpack’s Android Navigation components
- Handling back button in Android Navigation Component
- Android Navigation Architecture Component – Get current visible fragment
- Jetpack Compose collapsing toolbar
- Android Jetpack Compose width / height / size modifier vs requiredWidth / requiredHeight / requiredSize
- Different types of width in jetpack compose
- How to change start destination of a navigation graph programmatically?
- Android Work Manager vs Services?
- Is it possible to set startDestination conditionally using Android Navigation Architecture Component(Android Jetpack)?
- Proguard causing runtime exception with Android Navigation Component
- Android Work Manager: “Could not instantiate Worker”
- When should I use Android Jetpack Compose Surface composable?
- Show custom alert dialog in Jetpack Compose
- After clicking in buttons My App has stopped
- How do I use DrawerLayout to display over the ActionBar/Toolbar and under the status bar?
- Difference between Activity Context and Application Context
- Android app out of memory issues – tried everything and still at a loss
- AlphabetIndexer with Custom Adapter managed by LoaderManager
- getActionBar returns null
- Continue Service even if application is cleared from Recent app
- What is the benefit of ViewHolder pattern in android?
- Close application and remove from recent apps/
- How to handle the Firebase notification when app is in foreground
- View the Task’s activity stack
- How to create an AVD for Android 4.0