From Scoped Storage to Photo Picker: Everything to know about Storage
summary
Covers how Android moved from scoped storage (Android 10) to the Photo Picker, explains concrete APIs: use MediaStore & Storage Access Framework for shared files, prefer URIs not java.io paths, and use Jetpack ActivityX contracts for pickers. Photo Picker ships in Android 13 and is backported to Android 11/12, supports cloud albums, limits selection, and requires no storage permission. Also details manage external storage policy, access_media_location, is_pending/trashed/favorite flags, storageManager.allocateBytes, and handling large photo sets (example: ~15,000 images) off the main thread.
AI-written summary · about
chapters (8)
- 0:00Introduction and overview
- 1:30Android storage architecture
- 11:37Scoped Storage deep dive
- 23:44Adding files to storage
- 31:49Storage Access Framework
- 35:20Photo Picker explained
- 37:46Future of storage and privacy
- 38:49Recap and key takeaways
related talks
23mSimplifying Scoped Storage with ModernStorage
12mEverything about storage on Android
26mWhats new with Data Storage?
18mIntegrating Google Photos Picker API with Android Native Apps
24mNow and Future of Media Access
22mPlatform #AskAndroid
32mWhat’s new in shared storage
45mLive Coding Session: How do you Build More Privacy Focused Apps?
