Task & Document API (en)
summary
Explains Android’s Task API (taskAffinity, launchMode, intent flags) and the Android 5.0 Document Task API, focusing on their differing behaviors across Android versions. Walks through concrete use cases such as apps that restrict content to signed-in users and apps that open multiple documents in parallel, showing how to apply the APIs to manage those scenarios.
AI-written summary · about
chapters (15)
- 0:00Start
- 2:58Task API
- 4:10Start from launcher
- 6:35Start from within the app
- 6:47Start from overview
- 9:13Opening an Url
- 15:09Taking a picture
- 15:59Sharing via mail
- 30:05Create new document
- 32:04Limiting the history
- 32:36Starting in background
- 33:25Managing documents
- 34:43Removing a document
- 35:42Overview screen customisation (5.0+)
- 37:00Persistance behaviours (5.0+)
related talks
26mBe part of document-centric Android
01h 45mAndroid Essentials
41mWho Is That API For? Practical User‑Focused Techniques for Android Library Design
17mAndroid: those little details that make the difference
38mActivities, Intents, Tasks, and the Back Stack
44mBuilding assistive apps with App Actions
30mApp Actions
27mAndroid & Assistant: a match made in heaven
