~/talk

Testing Wear OS fitness apps without breaking a sweat

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

Summary of concrete testing steps and caveats for Wear OS fitness apps: use the Android Studio Device Manager emulator to inject emulator heart-rate sensor only events and check UI across screen shapes; use Health Services synthetic mode (enable synthetic providers, tell it which exercise to simulate, revert when done) to generate multi-sensor exercise data; connect via ADB over Wi‑Fi (hotspot if network isolates clients); guard against device differences by using a set intersection check to request only supported data types and handle unusual Health Services states.

AI-written summary · about

  1. 0:00Intro
  2. 0:21A User Journey
  3. 0:43What makes testing hard?
  4. 1:22State Transitions
  5. 2:03Emulator
  6. 2:34Synthetic Mode
  7. 3:08Setting up adb
  8. 3:40Simulating an Exercise
  9. 3:57Different Capabilities
  10. 4:19Checking for Capabilities
  11. 4:37State Changes
~/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.