我的应用程序应该有一个按钮,单击该按钮后会说“开始/停止”,它应该捕获模拟器屏幕,包括鼠标的移动以及屏幕上的内容,停止时它将停止捕获屏幕...
You can get screen captures from an Android emulator using the ddms
tool that comes with the Android SDK .
I am not aware of any standard Android APIs for screen capture. All of the screen capture applications I have seen on the Android Market require a rooted device, so I'm fairly sure there's no easy way to do this within your application.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.