30

how can i capture the screenshot of an app using ddms from intellij Idea?

I have been using intellij for some time and i find it very useful. though i couldnt find a way to make it work.

Could any one please tell me if this is possible from within the IDE itself?

Alex Gitelman
  • 24,429
  • 7
  • 52
  • 49
PushpRaj
  • 595
  • 1
  • 5
  • 11

2 Answers2

58

UPDATE: Screen Capture feature was added in IntelliJ IDEA 13 (and Android Studio):

Screen Capture

It's available in the Android tool window (View -> Tool Windows -> Android).


Answer for older IDEA versions:

IDEA doesn't have this feature. If you are on Windows, you can try something like Android Commander or use DDMS directly.

New IDEA versions have a menu shortcut for Monitor (DDMS replacement in recent Android SDK versions):

Monitor

After running Android Debug Monitor, use the Screen capture button:

Screen capture

pfrank
  • 2,090
  • 1
  • 19
  • 26
CrazyCoder
  • 389,263
  • 172
  • 990
  • 904
  • 1
    how to use ddms directly: http://www.srtsolutions.com/taking-android-emulator-screenshots-without-eclipse – M.Y. May 30 '12 at 15:57
  • 1
    My screenshots were empty when the "Use Host GPU" option was enabled for the AVD. Unchecking that option solved the empty screenshot problem but the render quality was very bad, so i ended up taking screenshots of the AVD window... – sfera Nov 17 '13 at 15:34
  • I want to confirm that the Screen Capture button works perfectly for taking screenshots in the free version of Genymotion. Very useful. – emkman Feb 25 '14 at 00:02
9

In IntelliJ IDEA 11, Tools => Android => DDMS. Then press Ctrl (Command) + S, then Save

Alex Ivasyuv
  • 8,585
  • 17
  • 72
  • 90