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 was not showing under the /data/data/com.__ If anybody has used that through command line.Please share your experience Thanks and Regards Prakash Vel On Aug 28, 11:46 am, Prakash Vel <prakash...@gmail.com> wrote: > 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)" <yusuf.s...@t- > > Mobile.com> wrote: > > DDMS sends a string that essentially says "give me ascreenshot" 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. > > > Yusuf Saib > >Android > > ·T· · ·Mobile· stick together > > The views, opinions and statements in this email are those of the > > author solely in their individual capacity, and do not necessarily > > represent those of T-Mobile USA, Inc. > > > On Aug 27, 5:48 am, Prakash Vel <prakash...@gmail.com> wrote: > > > > Read through Couple of articles , Most of them point to the DDMS > > > through that we could take theScreenshot. > > > > However i am trying tocapturethe Emulator screenfrom the Command > > > Line. > > > Not Sure how to tweak the framebuffer /Surface flinger to do the job. > > > > or is there any app that we could run in the background and get the > > > job done. > > > > help will be much appreciated. > > > > Thanks and Regards > > > Prakash Vel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---