Back to Browse

File IO to External Storage - Android Data Persistence Tutorial - Part 3

3.1K views
Mar 3, 2017
7:46

This is a continuation of File IO operations discussion and in this video we discuss about how to write a file to external storage and read a file from external storage. Since accessing external storage and internal storage requires permission we need to also manage run time permission grants for writing to and reading from external storage. The manifest file of the application need to declare WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE permission to make this functionality work. We also get introduced to Environment class of Android which pretty much provides all the methods related to dealing with external storage. Follow me on Twitter: https://twitter.com/anilvdeshpande Github Source Link: https://github.com/AnilDeshpande/FileIoDemoCode/tree/external-storage-functionality

Download

0 formats

No download links available.

File IO to External Storage - Android Data Persistence Tutorial - Part 3 | NatokHD