I've been searching this for quite a long time and I found the following steps at https://stackoverflow.com/a/24259250/5256621
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/com.yourpackge.name/databases/filename.sqlite > /sdcard/filename.sqlite"
- Pull the database files to your machine: execute:
./adb pull /sdcard/ execute: ./adb
- Install Firefox SQLLite Manager: https://addons.mozilla.org/en-US/firefox/addon/sqlite-manager/
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.
Some said that database can be accessed once the device is rooted but not works for me. How do I view the SQLite database on an Android device?