How to take screenshot in android emulator
android, android-emulator, screenshot
Solution
As seen in this post: Screenshot of the Nexus One from adb?, you can also take a screenshot using adb:
adb shell /system/bin/screencap -p /sdcard/screenshot.png
adb pull /sdcard/screenshot.png screenshot.png
Problem
From Android 4.0, it supports volumn down+power key to take screenshot and saved in gallery. But how to do this in android emulator. I know in eclipse, there is a 'take screenshot' button, but this is not what I want. I need it in the emulator and saved in emulator.