I think DDMS for USB and enabled useb debug. But I have not tried to connect
my phone by others way.

On Fri, Aug 28, 2009 at 11:20 AM, Chi Kit Leung <michaelchi...@gmail.com>wrote:

> USB, I think. Yes, only work in enable USB debugging enabled. I tried to
> connect my HTC magic before I enabled usb debug.
> It did not show the device.
>
>   On Fri, Aug 28, 2009 at 3:40 AM, Chris Stratton <cs07...@gmail.com>wrote:
>
>>
>> On Aug 27, 1:21 pm, "Yusuf Saib (T-Mobile USA)" <yusuf.s...@t-
>> Mobile.com> wrote:
>> > DDMS sends a string that essentially says "give me a screenshot" to
>> > the device, which sends back image data, all through a socket. You
>> > could in theory take the DDMS code and repurpose it to your needs. You
>> > might start by taking a look at system/core/adb/framebuffer_service.c
>> > and who calls it. Bear in mind that you can't screencapture on the
>> > device unless you're running as root. DDMS gets around this by sending
>> > the string to a root process.
>>
>> Brings up an interesting question: can the phone DDMS itself via
>> connecting to the appropriate socket for the DDMS service, or does
>> that only work when you come in from the outside via USB with USB
>> debugging enabled?
>>  >>
>>
>
>
> --
> Regards,
> Michael Leung
> http://www.itblogs.info
> http://www.michaelleung.info
>



-- 
Regards,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info

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