From the course: Android Development Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Inspect database files with DB Browser

Inspect database files with DB Browser - Android Tutorial

From the course: Android Development Tips

Inspect database files with DB Browser

- [Instructor] If you're using SQLite to persist data in your apps, you might want to browse the database but that capability isn't a part of Android Studio. Instead, you can use a free open source package called DB Browser for SQLite that's available at this website. There are Windows, Mac, and other versions available here. You can download the software for your operating system and installing it is the same as any package for each operating system. On Mac you'll get an DMG file, and you just drag the application package to the Applications folder and on Windows you'll get an installation executable. Once you've installed it, you can open it. Now, in order to browse your SQLite data, you'll need to download it from a device and this is where the new Device File Explorer can be really useful. Now, to make sure that I have a database to work with, I'm going to run this application that runs a little bit of database code using the Room Persistence Library. I'll click Run Code, and I'll…

Contents