~/talk

User Initiated Data Transfer Jobs

Talkat droidcon London 2024 · 2024-10-31..11-01· [android, developer-experience]
links:none on file
slides:none on file

Explains how Android’s User Initiated Data Transfer jobs (Android 14+) let user-started uploads/downloads run longer than normal background work by using jobScheduler with the flag userInitiated=true, a required persistent notification, and onStartJob that updates notification and runs async work then calls jobFinished. Jobs run concurrently, require manifest permissions, respect network and resource constraints, and only schedule when app is visible or allowed by background-start exceptions. Migration shows concrete wins: Google Maps reports ~10% reliability gain; fallback for older OS is WorkManager/foreground service.

AI-written summary · about

  1. 0:00User initiated data transfer jobs
  2. 1:47Android foreground service changes
  3. 5:37User initiated data transfer jobs
  4. 8:04How to write a user initiated data transfer job
  5. 13:56Scheduling UID jobs
  6. 18:52Migrating to UID jobs
  7. 21:43Use cases for UID jobs
  8. 22:47Future of UID jobs
~/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.