~/talk

Syncing data with Health Connect

Talkat Android Dev Summit 2022 · 2022-10-24..11-14· [android]
links:none on file
links:none on file
slides:none on file

Health Connect syncs bidirectionally by writing records with InsertRecords while setting clientRecordID and clientRecordVersion so the platform deduplicates and resolves updates; large uploads batch ~1,000 records and use WorkManager with retries. Consume changes via the Changes Sync API by calling getChangesToken, storing per-data-type tokens, filtering out your own package’s writes, and handling token expiry after 30 days plus the restriction that reads only work when the app is foregrounded.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Recap
  3. 2:18Example
  4. 4:43Change Sync API
~/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.