Sqlitestudio elegant debugging of Android mobile phone database SQLite (recommended)
preface
There are many ways to debug the database in Android. At present, the more popular is to debug with the help of computer browser. You can use the following two Gadgets:
1.Stetho
2.Android-Debug-Database
When debugging SQLite, bloggers found a simpler and more powerful tool to debug SQLite database.
This tool is called SQLite studio
sqliteStudio
It is a computer software, a visual SQLite tool. Using SQLite studio, we can manage SQLite database from various angles and postures.
For Android developers, it can connect to your application and debug the SQLite database in your mobile phone in real time. Conveniently manage your database, manage the structure of your table, add, delete, modify and check your data.
Overview of the software:
The software is familiar to you. Next I will mainly talk about how to connect your app and debug the SQLite database inside.
Several steps
Set up support for Android SQLite
Add the jar package to your project
1. Get the jar package
At this time, the sqlitestudioremote.jar file is available on disk D
2. Add sqlitestudioremote.jar to your Android project
3. Add code to your application:
Open SQLite Studio software and connect to your database
OK, that's it. The connection is successful!
Supplement:
1. USB must be connected to the mobile phone and the jar project must be opened before it can be successfully connected. After disconnection, the tool cannot display the database content, only the database name.
summary
The above is the SQLite studio introduced by Xiaobian to you. I hope it can help you. If you have any questions, please leave me a message and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!