Need to have a look at a sqlite DB in an android app. Need to grab this first.

Then do the backup (This is currently deprecated, so probably won’t be around forever, but works for now)

adb backup [your.app.package.name]  

Check the phone and allow the backup

java -jar abe.jar unpack backup.ab backup.tar ""

Creates a zip where you can find the db. Open it with your favorite db app.

There’s also this:

adb -d shell "run-as [your.app.package.name] cat /data/data/your.app.package.name/databases/[your_database.db] > /sdcard/filename.sqlite"

adb pull /sdcard/filename.sqlite

But all I get is an empty filename.sqlite file. May need to make it work if/when the above is removed.

chrisriver