~/talk

Your App Could Use a Secondary Screen!

Talkat droidcon London 2024 · 2024-10-31..11-01· [android]
links:none on file
slides:none on file

Explains how to run Android apps on a secondary display using DisplayManager and WindowMetrics API, and how to launch an activity onto another screen with ActivityOptions.setLaunchDisplayId plus flags ACTIVITY_LAUNCH_ADJACENT and FLAG_ACTIVITY_NEW_TASK. Covers resizableActivity behavior across API levels (600 dp threshold), why to use activity rather than application context, lifecycle differences (full recreation on significant size changes), and the need to save UI state. Shows Zebra workstation connect hardware plus an agent that accepts managed configurations or JSON to set mirror/extend, resolution and shortcuts.

AI-written summary · about

  1. 0:00Introduction
  2. 1:08Why apps need secondary screens
  3. 3:20Secondary screens use cases
  4. 5:07Coding multi-window support
  5. 9:02DisplayManager for displays
  6. 11:30Activity lifecycle on secondary displays
  7. 13:37Preserving UI state
  8. 15:04Zebra Workstation Connect overview
  9. 17:54Q&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.