The Android SDK includes an application that you can use to explore a database that's on a virtual device, or on a physical device that's been rooted. It's called SQLite3. Learn show you how to use it in this tutorial. You'll first need to pull the database file from the device to your development computer. Learn about a free desktop application you can use to browse the database.
- [Instructor] The Android SDK includes…an application named SQLite3…that you can use to explore an SQLite database file.…In order to explore the database file,…you have to be able to see it…on the device, though,…so this works on the emulator,…or on a physical device that's been routed.…Now, I've already run the application,…and I've exported the data to the database,…and I showed in a previous video…that the file, nadias.db,…was stored in the data/data directory,…under the application ID.…
I could use the Android Device Monitor application…to pull down the database file…to my local system,…but, instead, I'll show you how to do this…using the command line.…In order to run the ADB command…from the command line from any directory,…you need to have added the SDK's platform tools…subdirectory to your system's path,…and you can find out whether…that's going to work for you just by typing…ADB, and then enter or return.…If that doesn't work for you,…you'll need to switch to the SDK directory,…and from there, to the platform tools subdirectory.…
- Modeling data in POJO classes
- Customizing a ListView item display
- Displaying data in a RecyclerView
- Creating a custom array adapter
- Managing shared preferences with Java
- Creating and importing JSON data files
- Accessing SQLite from the command line
- Retrieving data with SQLite queries
Skill Level Intermediate
Android App Development: Data Persistence Librarieswith Annyce Davis3h 59m Intermediate
Android App Development: RESTful Web Serviceswith David Gassner2h 25m Intermediate
1. Display Static Data
2. Store Data in Shared Preferences
About shared preferences4m 41s
3. Store Data in Text Files
4. Manage Relational Data with SQLite
Next steps1m 43s
- 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.