How To Access Sqlite DB On The Xoom?
I have a Nexus One (rooted) and a Xoom (stock, not rooted). I have developed on my Nexus for quite some time, without any problems. I'm facing one with the Xoom, however, as it is
Solution 1:
If it is your app you're debugging, there is no need to root the device.
Edit this list of commands to your package name and db file name, and paste it into a shell:
adb wait-for-device shell <<EOF
run-as [YOUR_PNAME]
chmod 666 databases/[YOUR_DB_FILE_NAME].db
exit
exit
EOF
adb pull /data/data/[YOUR_PNAME]/databases/[YOUR_DB_FILE_NAME].db
sqlitebrowser [YOUR_DB_FILE_NAME].db &
The sqlitebrowser
can be replaced with whatever sqlite3 application you have on your pc.
Solution 2:
I rooted my device as well. But new system image doesn't have sqlite3 in path.
Solution 3:
I ended up rooting the device.
(answser input only for marking it as accepted)
Post a Comment for "How To Access Sqlite DB On The Xoom?"