Do more with multi-window and activity embedding
summary
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
chapters (6)
- 0:00Introduction to multi-window
- 1:15Multi-window implementation
- 3:36Exclusive resource access
- 4:29Managing configuration changes
- 6:03Activity embedding
- 11:55Cross-app embedding
related talks
15mDo more with multi-window and activity embedding
33mOptimize your app for large screens
37mBuilding Responsive UIs for tablets, foldables, and other devices
01h 31mMulti-Window and Your App
28mBuilding an app for the Multi-Device world
22mLearn how to update your app for the larger screen
01h 03mKeynote - Android: For Users and Developers
46mA developer's guide to large screens readiness
