SQLite Viewer is an open source application that allows you to view the contents of SQLite databases right from your Android device.
Choosing the database file is done with an external file manager or with agraham's FileDialog.
After choosing a database file, you will see a list with the database tables. Choosing a table will open the second activity which shows the table fields types and the table contents.
BLOB columns will display: "click to see image".
When you click on such a cell the program will try to convert the BLOB data to an image and show it.
The code uses DBUtils code module for most of the SQL statements.
Handling the BLOB columns adds some complexity. You can see it handled in TableActivity code.
The source code is included in the zip file.
Choosing the database file is done with an external file manager or with agraham's FileDialog.
After choosing a database file, you will see a list with the database tables. Choosing a table will open the second activity which shows the table fields types and the table contents.
BLOB columns will display: "click to see image".
When you click on such a cell the program will try to convert the BLOB data to an image and show it.
The code uses DBUtils code module for most of the SQL statements.
Handling the BLOB columns adds some complexity. You can see it handled in TableActivity code.
The source code is included in the zip file.
Attachments
Last edited: