Android - How To Access Emulator Screenshot Via Emulator?
Answer : It will save in your PC . You can also specify the location of screenshots from the emulator settings . Please see the following image for reference. Emulate Volume Down + Power event to trigger Android's screenshot, then screenshot pictures will be stored at emulator's /storage/emulated/0/Pictures/Screenshots . Here is the script. Run adb shell , then copy the code below and run, you should see the emulator start taking a screenshot. cat > /data/local/tmp/screenshot.sh <<EOF #!/bin/sh echo 'volume key: down' sendevent /dev/input/event1 1 114 1 echo 'power key: down' sendevent /dev/input/event1 1 116 1 sendevent /dev/input/event1 0 0 0 sleep 1 echo 'volume key: up' sendevent /dev/input/event1 1 114 0 echo 'power key: up' sendevent /dev/input/event1 1 116 0 sendevent /dev/input/event1 0 0 0 EOF sh /data/local/tmp/screenshot.sh NOTE: My emulator's input device is "/dev/input/event1", this may be differ...