Join David Gassner for an in-depth discussion in this video Parsing a read-only XML file with XmlPullParser, part of Android App Development: Local Data Storage (2013).
I've previously described how to create and read files in both internal…and external storage.…You can also package read-only files as a part of your application as a…resource, in the same ways you might package up a layout or a binary file.…I'll describe how to do that and also how to parse XML using a class called the…XML Pull Parser that's included with the Android SDK.…In this version of the application, I've changed my layout so that it contains…a ListView control.…
A list view is designed to display a list of data, and I'm going to be retrieving…the data from an XML file that's packaged with the application and displaying…its data in this list.…The layout also has a TextView control that I'll be able to use to display any…type of information I want to the user.…The MainActivity class has been changed so that it extends the ListActivity, and…I'll be able to use this class and the layout to easily display a list of data.…First, I'm going to describe how to package up an XML file as part of your…
- 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.