Virtual Files in the Storage Access Framework (Android Development Patterns S3 Ep 11)
Channel:
Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=4h7yCZt231Y
Virtual files are a new addition to the Storage Access Framework in Android 7.0 that allow apps to handle files that don’t have a direct bytecode representation - openInputStream() won’t work for these files. While they can be filtered out by adding CATEGORY_OPENABLE to your Intent, you can also take advantage of alternative mime types to transcode files into other formats or build an ACTION_VIEW Intent to open the selected virtual file in the app that provides the file.
Check out the documentation on virtual files at https://goo.gl/NJSXXJ
and read more about the Storage Access Framework at https://goo.gl/kaywXK
#AndroidN #BuildBetterApps #saf #storage
Other Videos By Android Developers
Tags:
Android
#StorageAccessFramework
Storage Access Framework
#SAF
DocumentsProvider
Virtual files
#AndroidNougat
#AndroidN #BuildBetterApps
#android
#androiddev
android
google
developer
developers
app
BuildBetterApps
androiddev
lectures
tutorial
how to
lesson
development patterns
application
product: android
fullname: Ian Lake
Location: MTV
Team: Scalable Advocacy
Type: DevByte
GDS: Full Production