Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
477 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...