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