Be part of document-centric Android
summary
Covers how Android’s Storage Access Framework (KitKat+) and the Lollipop Overview turn apps into document-centric entries: use ACTION_GET_CONTENT/ACTION_CREATE_DOCUMENT and createDocument plus ClipData to return multiple URIs, support directory access via ACTION_OPEN_DOCUMENT_TREE, and control recents with FLAG_ACTIVITY_NEW_DOCUMENT, FLAG_ACTIVITY_MULTIPLE_TASK, setTaskDescription, finishAndRemoveTask and ActivityManager.getAppTasks. Notes that a DocumentProvider implementation is workable but involved, many cloud providers still lack support (Dropbox absent), and persistable state across reboots has sketchy docs.
AI-written summary · about
chapters (22)
- 0:00Intro
- 2:11File Pickers
- 2:58File Manager
- 4:29Getting Content
- 6:43Hardcoded Directory
- 7:33Custom Directory
- 8:14Create Document Action
- 8:32Save Action
- 8:58Title
- 9:09Directory picker
- 10:07Document provider
- 11:47Recent Apps
- 12:17One entry per tab
- 12:55Logical break
- 13:54New document
- 14:50Multiple tasks
- 15:43Always launch a new task
- 16:31Change the look and feel
- 17:43Code
- 18:40Activity
- 20:20Make Tasks Lounge Behind
- 24:09Conclusion








