views:

433

answers:

2

Hi,
I'm trying to access the database of the application I'm developping directly on my Nexus, but I get a "permission denied" when I tried to execute the "sqlite3" command. I also tried to start the adb in root mod, but again, permission denied on the device... I guess I will have to do that with the emulator but I have a lot of data to load and it would have been 10 times faster with the phone on Wifi than the emulator... Unless someone has any idea? thanks

A: 

You are saying that you can't adb pull your db file?

Try adding to your manifest inside the application tag:

android:debuggable="true"
Macarse
it's already like that. and the adb -d pull /data/data/ ... gives me a permission denied too. that's my issue... I can't access the database in any way...
Sephy
+1  A: 

Typical.

I worked around this annoyance by adding a feature to my app that backs up (copies) the DB to the SD card. sdp pull works against any sdcard files.

Brad Hein
yep that's a nice trick. I'll do that. thanks
Sephy