Question

I'm developing an Android application and I debug it on Kindle Fire device. I implemented all the steps which is needed to debug on Kindle Fire and everything works good.But the problem I can't view my application's SQLite database on device.I use this plugin http://www.tylerfrankenstein.com/browse-android-emulator-sqlite-database-eclipse to view SQLite database on emulator, and now I want to do this on device.But when I go to the data folder in File Explorer i see that it is empty: How can I fix this and use SQLIte browser on Kindle Fire device? Thanks in advance!

Was it helpful?

Solution

You cannot access files on internal storage from DDMS on production hardware.

You can try using adb shell run-as to be able to pull the database using the command-line adb client: https://stackoverflow.com/a/8434477/115145

adb shell
run-as com.corp.appName
cat files/myFile.txt > /mnt/sdcard/myFile.txt
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top