Android SDK: How to Work with Files in External Storage


show more Working with files in external storage provides you with in-depth training on Developer. Taught by David Gassner as part of the Android SDK: Local Data Storage show less
please wait ...

Working with files in external storage

Each Android app has both an internal and an external storage area. Files in internal storage can only be accessed by the application that created them. Files in external storage are available to all applications on the device. I'll describe how to create an application that uses external storage using this project called ExternalStorage. First, the application must be given permission to acces external storage. To do this, edit your Android manifest file.

I'll open the Android manifest. It might open in XML format or in the Manifest view. Either way, click on the Permissions tab. Click the Add button and select Users Permission, and click OK. Pull down the list of available Permissions on the right, scroll all the way down to the bottom, and choose WRITE_EXTERNAL _STORAGE, and save your changes to the file. If you forget to do this, when you try to run the application using the code that I'm about to create, it will crash and you'll get no exception errors and information i...

Working with files in external storage
Video duration: 11m 22s 3h 41m Intermediate

Viewers:

Working with files in external storage provides you with in-depth training on Developer. Taught by David Gassner as part of the Android SDK: Local Data Storage

Subject:
Developer
Software:
Android Java
Author:
please wait ...