~/talk

Do more with multi-window and activity embedding

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

Android 12L+ makes multi-window first-class: Android 10 already changes lifecycle so all on-screen activities are resumed and apps must observe onTopResumedActivityChanged to acquire or release exclusive resources (camera, mic) or risk freezes/crashes. Activity Embedding uses a Jetpack library with an XML config and a SplitInitializer to declare splits (example 30/70, min width 600dp), auto-switches layouts at runtime, supports cross-app embedding on Android 13 with certificate or untrusted opt-in, and the sample fruit app runs side-by-side with zero refactor.

AI-written summary · about

  1. 0:00Introduction to multi-window
  2. 1:15Multi-window implementation
  3. 3:36Exclusive resource access
  4. 4:29Managing configuration changes
  5. 6:03Activity embedding
  6. 11:55Cross-app embedding
~/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.