~/talk

Building a screen capture library for Compose

Talkat droidcon New York 2024 · 2024-09-19..09-20· [android, developer-experience]
slides:none on file

A screen capture library converts UI trees into compact wireframes rather than pixel screenshots, cutting a 100+ KB JPEG to 350 bytes payload (example screens ~430 bytes, ~60 elements) and reducing capture cost from ~50 ms and 10 MB memory to about 12 ms capture on traversal; works for Views and Compose by using accessibility/semantics APIs instead of private Compose internals, ships in an SDK with a control plane for dynamic enables, reaches tens of millions of devices and keeps P90 latency near the 16 ms frame budget.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Logging in production controversy
  3. 5:57Screen captures for mobile observability
  4. 8:28Traditional screenshot challenges
  5. 14:28Wireframe-based screen capture
  6. 17:22Real-time wireframe capture benefits
  7. 19:30Bit Drift logging system
  8. 22:56Extending to Compose views
  9. 27:35Semantic APIs for Compose capture
  10. 29:00Takeaways and future
  11. 30:28Live demo and 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.