Automatic screenshot capture of the running android application for app store commitment

流过昼夜 提交于 2019-12-04 14:55:40

An easier solution to take screeenshots without needing to do any compilation as david's solution required (for ICS devices only) is to use the following from the command line:

adb shell /system/bin/screencap -p /sdcard/screenshot.png
adb pull /sdcard/screenshot.png screenshot.png

This'll save the screenshot.png file in the current directory.

Tested on a Samsung Galaxy SII running 4.0.3.

I've solved this with little trick. I preserve the previous installed package postfix, and every time I need to install a new one, I just call "adb uninstall" to remove the previous installed apk. As to the screenshot for the android device(emulator) in the command line, here is the solution by some guy.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!