Join David Gassner for an in-depth discussion in this video Working with files in external storage, part of Android App Development: Local Data Storage (2013).
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 in the console view telling you what you missed.…
- Exploring local data storage options
- Creating an Android virtual device
- Starting a new project
- Defining preferences with Java and activities
- Creating and reading JSON and XML data files
- Creating a new SQLite database
- Inserting and retrieving data in the database
Skill Level Intermediate
1. Getting Started
2. Using Application Preferences
3. Using Internal and External File Storage
4. Working with SQLite Databases
5. Managing and Displaying SQLite Data
Improving the data display9m 29s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.