如何捕获的Andr​​oid设备屏幕上的内容? [英] How to capture the android device screen content?

查看:200
本文介绍了如何捕获的Andr​​oid设备屏幕上的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/2661536/how-to-programatically-take-a-screenshot-on-android">How以编程方式采取截图在Android?

如何捕捉到Android设备屏幕上的内容,并使用快照数据的图像文件?我应该使用哪种API或我在哪里能找到相关资源?

How to capture the android device screen content and make an image file using the snapshot data? Which API should I use or where could I find related resources?

BTW: 没有摄像头快照,但设备屏幕

BTW: not camera snapshot, but device screen

推荐答案

据的这个链接,可以使用DDMS在Android SDK中的tools目录中采取截屏。

According to this link, it is possible to use ddms in the tools directory of the android sdk to take screen captures.

要在应用程序(而不是在开发过程中)内这样做,也有应用程序这样做。但正如@ zed_0xff指出它肯定需要根。

To do this within an application (and not during development), there are also applications to do so. But as @zed_0xff points out it certainly requires root.

这篇关于如何捕获的Andr​​oid设备屏幕上的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆