简体   繁体   中英

capturing the emulator screen(android):

我的应用程序应该有一个按钮,单击该按钮后会说“开始/停止”,它应该捕获模拟器屏幕,包括鼠标的移动以及屏幕上的内容,停止时它将停止捕获屏幕...

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM