A command-line tool to view sqlite3 databases on Android devices. The database is copied locally and then a custom script is run that uses sqlite commands.
Prereqs:
- From the Android SDK: adb, sqlite3
To Use:
-
Set the custom paths in the 'watchdb' file.
-
Chmod 755 watchdb
-
Create a txt file with the same name as your database. This file will contain the sqlite3 commands you want to run.
-
See example.txt.
Extra:
Use a unix tool like 'watch' to keep a real-time display of your database script. For example,
watch -n 1 ./dumpds com.sample.package MyCoolDatabase
Remember that as currently written, the script will be copied from your device on every call.