以Android的屏幕截图,并保存到SD卡 [英] Take Screenshot of Android screen and save to SD card

查看:223
本文介绍了以Android的屏幕截图,并保存到SD卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一些问题在这里对SO有关捕获一个Android应用程序的截图。但是,我还没有找到如何采取截图编程方式使用Android SDK的或任何其他方法了坚实的解决方案。

There are a few questions here on SO about capturing screenshots of an android application. However, I haven't found a solid solution on how to take a screenshot programatically using the android SDK or any other method.

所以我想我会再次问这个问题的,我可以找到一个很好的解决方案的希望,希望一个可以让捕捉全长图像,我可以保存到SD卡或其他地方类似的。

So I thought I would ask this question again in the hopes that I can find a good solution, hopefully one that will allow capturing full length images that I can save to the SD card or somewhere similar.

我AP preicate任何帮助

I appreicate any help

推荐答案

这是不可能直接在设备上/仿真器,除非它扎根。

This is not possible directly on the device/emulator, unless it is rooted.

要诚实所有我需要它的仿真器,因为这是一个PC

to honest all I need it for is the emulator as this is for a testing application on a PC

这听起来像一个工作 monkeyrunner

这篇关于以Android的屏幕截图,并保存到SD卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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