~/talk

Modern best practices for background task execution

Talkat droidcon New York 2025 · 2025-06-25..06-26· [android]
slides:none on file

History of Android background APIs and concrete guidance for downloads and polling WorkManager remains the default down to Android 4 but Android 14 adds a dedicated user initiated data transfer JobScheduler job that requires the run_user_initiated_jobs permission and set_estimated_network_bytes, giving higher priority and reliable long transfers. Time‑sensitive alerts use expedited worker + FCM (high priority) to wake and fetch artwork. Debugging example shows a bug that exhausts quota and lands the app in app standby bucket 45 causing periodic workers to stop.

AI-written summary · about

  1. 0:00Background task execution intro
  2. 1:25Android background APIs evolution
  3. 4:15Broadway app features
  4. 5:37Choosing API for downloads
  5. 10:09WorkManager vs JobScheduler
  6. 12:16User Initiated Data Transfer jobs
  7. 18:32Lottery alerts with FCM
  8. 27:41Tracking price drops and seats
  9. 29:28Debugging worker execution
  10. 36:07App standby bucket limits
  11. 38:14Summary & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.