[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2012-08-22 Thread Lew
You can use http://developer.android.com/tools/help/monkeyrunner_concepts.html -- Lew On Thursday, August 27, 2009 5:48:20 AM UTC-7, prakashvel p wrote: > > Read through Couple of articles , Most of them point to the DDMS > through that we could take the Screenshot. > > However i am trying to

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2012-08-22 Thread Feipeng LIU
Here's a program that can be used to take screenshot from command line: http://www.roman10.net/a-program-for-taking-screenshot-for-android-device-from-command-line/ On Thursday, 27 August 2009 20:48:20 UTC+8, prakashvel p wrote: > > Read through Couple of articles , Most of them point to the DDM

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-09-01 Thread Prakash Vel
How Could we use the following file for capturing the screenshot. mydroid/development/tools/screenshot/src/com/android/screenshot/ screenshot.java In that JAVA File they have mentioned, "Usage: screenshot2 [-d | -e | -s SERIAL] [-l] OUT_FILE" How do we use this from the adb Command line. -It wa

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread Prakash Vel
Thanks for the Reply on how to go about trying on Command Line using the DDMS.Would dig into the framebufer_service.c for more clarity. Thanks to others too for their input on it Regards Prakash Vel On Aug 27, 10:21 pm, "Yusuf Saib (T-Mobile USA)" wrote: > DDMS sends a string that essentiall

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread dilli rao
If you want to get the screenshot of emulator or device ( screen ) while running the emulator open the ddms located in tools directory of android sdk and choose device -> screen capture you can do it for real device by connect it to the pc through usb cable and do the same I think this will help

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread Chi Kit Leung
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 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 sh

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread Chi Kit Leung
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 wrote: > > On Aug 27, 1:21 pm, "Yusuf Saib (T-Mobile USA)" Mobile.com> wrote: > > DDMS sends a st

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread Yusuf Saib (T-Mobile USA)
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

[android-developers] Re: How to do we take a Screenshot using ADB Comand Line

2009-08-27 Thread Chris Stratton
On Aug 27, 1:21 pm, "Yusuf Saib (T-Mobile USA)" 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