Since your application can read the database, you could build some
debug code and deploy it which lets you copy the file out to the
sdcard.  Then you could read it from that location or even use adb
pull to extract it.

On Jun 22, 9:55 am, n179911 <n179...@gmail.com> wrote:
> Hi,
>
> i hook up my G1 to my laptop and open a 'adb shell'. But as I execute
> the command 'cd /data/data', I get an error 'opendir failed,
> Permission denied'
>
> $ adb devices
> List of devices attached
> HT853GZ21556    device
>
> $ adb shell
> $ cd /data/data
> $ ls
> opendir failed, Permission denied
>
> I tried to cd the the right directory and then do 'sqlite3 <mydatabase>.db'
>
> How can i dump the content of the database on a real device?
>
> Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to