Everything about storage on Android
summary
Covers concrete rules and working code: use OkHttp streams to save private config to context.filesDir, prefer app internal or getExternalFilesDirs for large nonconfidential assets, and index shared media via the MediaStore API instead of raw file paths. Notes WRITE_EXTERNAL_STORAGE is deprecated, scoped storage arrives on Android 10, photo picker is backported to Android 11–12 and selects images with three lines of code; location metadata needs ACCESS_MEDIA_LOCATION.
AI-written summary · about
chapters (5)
- 0:00Intro
- 0:28Storage architecture
- 2:45Shared storage
- 4:12Common storage use cases
- 11:21Privacy Transparency
related talks
26mWhats new with Data Storage?
18mFiles for miles: Where to store them all?
39mFrom Scoped Storage to Photo Picker: Everything to know about Storage
32mWhat’s new in shared storage
24mNow and Future of Media Access
23mSimplifying Scoped Storage with ModernStorage
19mAdapting Your Apps for Android Q Privacy Requirements
29mAdapting Your Apps for Android Q Privacy Requirements
