jeudi 5 novembre 2015

How to view sqlite database using real device

I've been searching this for quite a long time and I found the following steps at http://ift.tt/1QipzXN

1.Connect your device and launch the application in debug mode.

2.Copy the database file from your application folder to your sd card: execute:

./adb -d shell "run-as com.yourpackge.name cat /data/data/http://ift.tt/1Gpx5fH > /sdcard/filename.sqlite"

  1. Pull the database files to your machine: execute:

./adb pull /sdcard/ execute: ./adb

  1. Install Firefox SQLLite Manager: http://ift.tt/vAmaLs

5.Open Firefox SQLLite Manager and open your database file from step 3 above.

Where can I find my database file ? The data file shows empty although I have rooted my device. I'm sorry if this is a silly question but I really do not know how to access SQLite using real device.

Aucun commentaire:

Enregistrer un commentaire