I always pull it off the device and view it with the Sqlite Manager in Firefox:
adb pull /data/data/com.yourpackage/databases/yourdb.db
Question
Hi i am pretty struggling on trying to view my databases that I create from my android code. I am using a genymotion emualator and I cant see anything from the filemanager in my project's data folder. Is there any way to view my database from the genymotion shell ? Thanks.
La solution 2
I always pull it off the device and view it with the Sqlite Manager in Firefox:
adb pull /data/data/com.yourpackage/databases/yourdb.db
Autres conseils
You can install an app in your emulator which lets you browse installed apps for databases. Root must be available, and since Genymotion virtual devices are rooted, you can follow the next steps:
I am not sure with via shell either but the following procedure helped me see the database
1.Download a good file browser(I used -- https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree)
You can pull database from device using adb command
adb pull /data/data/com.yourpackage/databases/yourdb.db
it will be copied to folder where your terminal is pointing to.