[android-developers] Copy a database from a retail phone to a development phone?

2010-11-29 Thread Jon Shemitz
I have a need to examine the contacts and call log databases. My
development phone has no contacts; it also has no SIM card, and hence
no calls. I need realistic data, so I can't just add some random
garbage. The obvious answer is to copy the database from my personal
(2.1u1 retail build) phone to my development (2.2 debug build) phone.

How?

I can `adb pull` the databases from my development phone but (while I
can `adb shell` to my retail phone, once I turn on USB debugging) I
can't  `adb pull` the databases from my retail phone.

Is there a better way than writing an export utility that will dump
the retail databases to text files, and an import utility that will
append that data to the debug databases?

-- 
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


Re: [android-developers] Copy a database from a retail phone to a development phone?

2010-11-29 Thread Kumar Bibek
You don't have permissions for pulling out those files from a retail device.
So, you just can't. Try setting up emulator with some contacts, calls etc.
You can pull out the files from an emulator though.

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Thu, Nov 25, 2010 at 4:25 AM, Jon Shemitz shem...@gmail.com wrote:

 I have a need to examine the contacts and call log databases. My
 development phone has no contacts; it also has no SIM card, and hence
 no calls. I need realistic data, so I can't just add some random
 garbage. The obvious answer is to copy the database from my personal
 (2.1u1 retail build) phone to my development (2.2 debug build) phone.

 How?

 I can `adb pull` the databases from my development phone but (while I
 can `adb shell` to my retail phone, once I turn on USB debugging) I
 can't  `adb pull` the databases from my retail phone.

 Is there a better way than writing an export utility that will dump
 the retail databases to text files, and an import utility that will
 append that data to the debug databases?

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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

Re: [android-developers] Copy a database from a retail phone to a development phone?

2010-11-29 Thread Prakash Iyer
you can export your contacts on your retail phone onto the sdcard, pull them
onto your computer, push them onto your development phone, import them onto
that dev phone.

don't know about call logs...

On Wed, Nov 24, 2010 at 5:55 PM, Jon Shemitz shem...@gmail.com wrote:

 I have a need to examine the contacts and call log databases. My
 development phone has no contacts; it also has no SIM card, and hence
 no calls. I need realistic data, so I can't just add some random
 garbage. The obvious answer is to copy the database from my personal
 (2.1u1 retail build) phone to my development (2.2 debug build) phone.

 How?

 I can `adb pull` the databases from my development phone but (while I
 can `adb shell` to my retail phone, once I turn on USB debugging) I
 can't  `adb pull` the databases from my retail phone.

 Is there a better way than writing an export utility that will dump
 the retail databases to text files, and an import utility that will
 append that data to the debug databases?

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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