HaTiMuX HaTiMuX - 1 year ago 132
Android Question

Access android application database on device (permission denied)

I can't access my application database on my device.

I tried these commands:

/# adb shell

/# sqlite3 /data/data/ANDROID.SQLite/databases/notes.db

but I always get a permission denied message!

I also tried to copy the database to my sdcard but still I can't have access to it from adb shell.

Any solutions please??

Thank you!

Answer Source

You can only do that on a rooted android device.

Alternatively, you may do this on the emulator which gives you access to that data for debugging SQLite database entries.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download