René's URL Explorer Experiment


Title: Background Work with WorkManager - Java  |  Android Developers

Open Graph Title: Background Work with WorkManager - Java  |  Android Developers

Description: Android has many choices for guaranteed background work, which have various pros and cons. The WorkManager library for Android makes working in the background simple. WorkManager deals with edge cases and compatibility issues. It also can create tasks that are query-able, reusable and chain-able. WorkManager is the recommended task scheduler on Android. This codelab will teach you the ins-and-outs of WorkManager: everything from writing a simple job to more complex chained jobs with constraints.

Open Graph Description: Android has many choices for guaranteed background work, which have various pros and cons. The WorkManager library for Android makes working in the background simple. WorkManager deals with edge cases and compatibility issues. It also can create tasks that are query-able, reusable and chain-able. WorkManager is the recommended task scheduler on Android. This codelab will teach you the ins-and-outs of WorkManager: everything from writing a simple job to more complex chained jobs with constraints.

Opengraph URL: https://developer.android.com/codelabs/android-workmanager-java

direct link

Domain: codelabs.developers.google.com

google-signin-client-id721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com
google-signin-scopeprofile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award https://www.googleapis.com/auth/devprofiles.full_control.firstparty
og:site_nameAndroid Developers
og:typewebsite
theme-color#34a853
NoneIE=Edge
og:localeen

Links:

Skip to main content https://codelabs.developers.google.com/codelabs/android-workmanager-java#main-content
https://codelabs.developers.google.com/
Android Studio https://developer.android.com/studio
https://codelabs.developers.google.com/
Android Studio https://codelabs.developers.google.com/studio
WorkManagerhttps://developer.android.com/arch/work
Android Jetpackhttp://d.android.com/jetpack
Architecture Componenthttp://d.android.com/arch
JobSchedulerhttps://developer.android.com/reference/android/app/job/JobScheduler.html
AlarmManagerhttps://developer.android.com/reference/android/app/AlarmManager
WorkManager documentationhttps://developer.android.com/topic/libraries/architecture/workmanager/
Guide to background processinghttps://developer.android.com/guide/background/
Loch Ness monster or evelopera toy submarinehttps://en.wikipedia.org/wiki/Loch_Ness_Monster#%22Surgeon's_photograph%22_(1934)
LiveDatahttps://developer.android.com/topic/libraries/architecture/livedata
ViewModelhttps://developer.android.com/topic/libraries/architecture/viewmodel
Android Lifecycle-aware components Codelabhttps://codelabs.developers.google.com/codelabs/android-lifecycles/#0
Room with a View Codelabhttps://codelabs.developers.google.com/codelabs/android-room-with-a-view/#0
file_downloadDownload final codehttps://github.com/googlecodelabs/android-workmanager/archive/java.zip
file_downloadDownload starting codehttps://github.com/googlecodelabs/android-workmanager/archive/start_java.zip
View Binding's documentationhttps://d.android.com/topic/libraries/view-binding
herehttps://developer.android.com/jetpack/androidx/releases/work
Workerhttps://developer.android.com/reference/androidx/work/Worker.html
doWork()https://developer.android.com/reference/androidx/work/Worker.html#doWork()
WorkRequesthttps://developer.android.com/reference/androidx/work/WorkRequest.html
Constraintshttps://developer.android.com/reference/androidx/work/Constraints.html
WorkManagerhttps://developer.android.com/reference/androidx/work/WorkManager.html
Workerhttps://developer.android.com/reference/androidx/work/Worker
Contexthttp://d.android.com/reference/android/content/Context
Throwablehttp://d.android.com/reference/java/lang/Throwable
Datahttp://d.android.com/reference/androidx/work/Data
WorkContinuationhttp://d.android.com/reference/androidx/work/WorkContinuation
unique work chainshttp://d.android.com/topic/libraries/architecture/workmanager/advanced#unique
beginUniqueWorkhttp://d.android.com/reference/androidx/work/WorkManager#beginUniqueWork(java.lang.String,%20androidx.work.ExistingWorkPolicy,%20androidx.work.OneTimeWorkRequest...)
ExistingWorkPolicyhttp://d.android.com/reference/androidx/work/ExistingWorkPolicy
REPLACEhttp://d.android.com/reference/androidx/work/ExistingWorkPolicy#replace
KEEPhttp://d.android.com/reference/androidx/work/ExistingWorkPolicy#keep
APPENDhttp://d.android.com/reference/androidx/work/ExistingWorkPolicy#append
LiveDatahttps://developer.android.com/topic/libraries/architecture/livedata
Android Lifecycle-aware components Codelabhttps://codelabs.developers.google.com/codelabs/android-lifecycles/#0
WorkInfohttp://d.android.com/reference/androidx/work/WorkInfo
BLOCKEDhttp://d.android.com/reference/androidx/work/State#BLOCKED
CANCELLEDhttp://d.android.com/reference/androidx/work/State#CANCELLED
ENQUEUEDhttp://d.android.com/reference/androidx/work/State#ENQUEUED
FAILEDhttp://d.android.com/reference/androidx/work/State#FAILED
RUNNINGhttp://d.android.com/reference/androidx/work/State#RUNNING
SUCCEEDEDhttp://d.android.com/reference/androidx/work/State#SUCCEEDED
getOutputDatahttp://d.android.com/reference/androidx/work/WorkStatus.html#getOutputData()
Constraintshttps://developer.android.com/reference/androidx/work/Constraints.html
Constraints.Builderhttp://d.android.com/reference/androidx/work/Constraints.Builder.html
setRequiresStorageNotLowhttp://d.android.com/reference/androidx/work/Constraints.html#setRequiresStorageNotLow(boolean)
Constraints.Builderhttp://d.android.com/reference/androidx/work/Constraints.Builder.html
file_downloadDownload final codehttps://github.com/googlecodelabs/android-workmanager/archive/java.zip
WorkManager documentationhttp://d.android.com/topic/libraries/architecture/workmanager/
Creative Commons Attribution 4.0 Licensehttps://creativecommons.org/licenses/by/4.0/
Apache 2.0 Licensehttps://www.apache.org/licenses/LICENSE-2.0
Google Developers Site Policieshttps://developers.google.com/site-policies
X https://x.com/AndroidDev
YouTube https://www.youtube.com/user/androiddevelopers
LinkedIn https://www.linkedin.com/showcase/androiddev
Android https://www.android.com
Android for Enterprise https://www.android.com/enterprise/
Security https://www.android.com/security-center/
Source https://source.android.com
News https://codelabs.developers.google.com/news
Blog https://android-developers.googleblog.com/
Podcasts https://codelabs.developers.google.com/podcasts
Gaming https://codelabs.developers.google.com/games
Machine Learning https://codelabs.developers.google.com/ml
Health & Fitness https://codelabs.developers.google.com/health-and-fitness
Camera & Media https://codelabs.developers.google.com/media
Privacy https://codelabs.developers.google.com/privacy
5G https://codelabs.developers.google.com/training/connectivity/5g
Large screens https://codelabs.developers.google.com/large-screens
Wear OS https://codelabs.developers.google.com/wear
ChromeOS devices https://codelabs.developers.google.com/chrome-os
Android for cars https://codelabs.developers.google.com/cars
Android TV https://codelabs.developers.google.com/tv
Android 15 https://codelabs.developers.google.com/about/versions/15
Android 14 https://codelabs.developers.google.com/about/versions/14
Android 13 https://codelabs.developers.google.com/about/versions/13
Android 12 https://codelabs.developers.google.com/about/versions/12
Android 11 https://codelabs.developers.google.com/about/versions/11
Android 10 https://codelabs.developers.google.com/about/versions/10
Pie https://codelabs.developers.google.com/about/versions/pie
Android Studio guide https://codelabs.developers.google.com/studio/intro
Developers guides https://codelabs.developers.google.com/guide
API reference https://codelabs.developers.google.com/reference
Download Studio https://codelabs.developers.google.com/studio
Android NDK https://codelabs.developers.google.com/ndk
Report platform bug https://issuetracker.google.com/issues/new?component=190923&template=841312
Report documentation bug https://issuetracker.google.com/issues/new?component=192697
Google Play support https://support.google.com/googleplay/android-developer
Join research studies https://g.co/userresearch/androiddeveloperfooter
https://developers.google.com/
Android https://developer.android.com
Chrome https://developer.chrome.com/home
Firebase https://firebase.google.com
Google Cloud Platform https://cloud.google.com
All products https://developers.google.com/products/
Privacy https://policies.google.com/privacy
License https://codelabs.developers.google.com/license
Brand guidelines https://codelabs.developers.google.com/distribute/marketing-tools/brand-guidelines
Manage cookies https://codelabs.developers.google.com/codelabs/android-workmanager-java
Subscribe https://codelabs.developers.google.com/updates

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.