0

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"

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

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

  1. 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?

Community
  • 1
  • 1
Hoo
  • 1,806
  • 7
  • 33
  • 66

1 Answers1

0

you can user Root Explore,before this,you must root your device and user root permission to run the app ,then open and find data folder and open the folder then continue find data folder and open ,you will find the app files in this device,find your packagename and you can find the db,you can use copy the db to sdcard

ljl5241861
  • 65
  • 3