Introduction and deep dive into dual screen foldables app development
summary
Covers concrete steps to make one‑screen apps work and then span on the Surface Duo: test in the emulator, add incremental features (drag‑and‑drop using ClipData and DRAG_FLAG_GLOBAL/DRAG_FLAG_GLOBAL_URI_PERMISSION), launch an activity to the adjacent screen with FLAG_ACTIVITY_NEW_TASK, then fully span using SurfaceDualLayout and the Surface Duo SDK; shows using Jetpack Window Manager (alpha) to read hinge coordinates and posture, and Espresso + UIAutomator swipe to automate spanning; GitHub samples and a Jira Mobile team case study from Atlassian illustrate real code and outcomes.
AI-written summary · about
chapters (10)
- 0:00Introduction to dual screen
- 6:52Enhancing apps for dual screen
- 9:48Incremental changes for dual screen
- 17:59Launching activities on adjacent screen
- 19:45Optimizing spanned app UX
- 24:04Jetpack WindowManager basics
- 31:06Surface Duo layout libraries
- 33:35Testing dual screen UI
- 35:22Resources and community
- 36:33Q&A and closing
