174

I need to take screenshots of an android application running on an emulator in Eclipse Galileo.

Is there a built-in feature for this or do I have to download a plugin of some sorts?

Ripon Al Wasim
  • 36,924
  • 42
  • 155
  • 176
John Lechowicz
  • 2,573
  • 3
  • 21
  • 34

6 Answers6

292

You can take a screenshot if you open the Android view "devices" (under Window --> Show View --> Other... --> Android --> Devices). Click on the device or emulator you want to take a screen shot of, then click the "Screen Capture" button (it looks like a little picture, and it should be next to a stop sign button). Occasionally the device won't immediately load the picture; sometimes you have to close/reopen the screen capture window.

This is equivalent to taking a picture via DDMS, but you can do it in Eclipse instead of opening another application.

Dan Lew
  • 85,990
  • 32
  • 182
  • 176
  • this is excellent. 'emulator control' + 'devices' rids me the need for ddms altogether – David Hedlund Jan 14 '10 at 20:51
  • 2
    Why is such an essential feature hidden away in these obscure menus? Thanks, man. – Daniel Sep 02 '13 at 14:05
  • Getting a blank screen when I take screen shot – Crocode Jan 04 '14 at 07:25
  • 4
    @Crocode Make sure to uncheck 'Use Host GPU' for the AVD you are debugging in the Android Virtual Device Manager. I think this is a known bug. – Dennis May 27 '14 at 15:44
  • 1
    @Dennis: if I uncheck 'Use Host GPU', I can't be able to launch emulator, it just showing black screen but does not start. do you have any idea on that ? – dakshbhatt21 Jul 17 '14 at 14:09
  • 1
    @dakshbhatt21 It might be a bug with high res targets and/or scaling when 'Use Host GPU' is off. I couldn't start a Nexus 10 with `-scale .75`, but I could start a 10.1" WXGA with no scaling. – Edward Brey Dec 01 '14 at 21:28
152

Screenshots on Android Devices using Eclipse, a Visual Guide

Android Eclipse Screenshot step 1

Android Eclipse Screenshot step 2

Android Eclipse Screenshot step 3

Mr. Flibble
  • 26,564
  • 23
  • 69
  • 100
14

In the DDMS perspective in Eclipse there is a "Screen Capture" button. (Make sure you have your Android SDK and Eclipse plugin up to date, not sure this was always an option). Just press that button and a screenshot of whatever device you have DDMS connected to (either a real Android device or the emulator) will be created and opened in a new window where you can save it as a png.

Mark B
  • 183,023
  • 24
  • 297
  • 295
9

You load the emulator with your app normally, through Eclipse, but you take the actual screenshot from DDMS, a tool that's included in your SDK, under the "tools" folder.

In DDMS, press Ctrl+S to take a screenshot.

David Hedlund
  • 128,221
  • 31
  • 203
  • 222
4

1-open the DDMS prescriptive,the right click on mouse. 2-there click on export screenshot. 3-then it will show you option to save your file as .png file,with whatever name you like you may save it.

Sunishtha Singh
  • 321
  • 4
  • 17
0

I just do a control print screen, which copies the image into the clipboard, then open MS Paint then do a control Z. Then you can crop and size it to your liking. Is this ok?

Ron
  • 43
  • 1
  • 2
    this is a long process and tends to be inefficient. it would be easier for you if you could try one of the above methods. – Anirudh Jun 07 '11 at 18:19
  • For some reason the normal capture through DDMS does not work even if the device is visible and LogCat working. The method is a last resort then. – Yar Nov 21 '13 at 10:25