如何使用 Eclipse 获取模拟器截图?

How to take emulator screenshots using Eclipse?(如何使用 Eclipse 获取模拟器截图?)

本文介绍了如何使用 Eclipse 获取模拟器截图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要截取在 Eclipse Galileo 的模拟器上运行的 Android 应用程序的屏幕截图.

I need to take screenshots of an android application running on an emulator in Eclipse Galileo.

是否有内置功能或者我必须下载某种插件?

Is there a built-in feature for this or do I have to download a plugin of some sorts?

推荐答案

如果打开Android视图设备"(在Window --> Show View --> Other... --> Android下可以截图--> 设备).单击要截屏的设备或模拟器,然后单击屏幕捕获"按钮(它看起来像一张小图片,应该在停车标志按钮旁边).有时设备不会立即加载图片;有时您必须关闭/重新打开屏幕捕获窗口.

You can take a screenshot if you open the Android view "devices" (under Window --> Show View --> Other... --> Android --> Devices). Click on the device or emulator you want to take a screen shot of, then click the "Screen Capture" button (it looks like a little picture, and it should be next to a stop sign button). Occasionally the device won't immediately load the picture; sometimes you have to close/reopen the screen capture window.

这相当于通过 DDMS 拍照,但是您可以在 Eclipse 中进行,而不用打开另一个应用程序.

This is equivalent to taking a picture via DDMS, but you can do it in Eclipse instead of opening another application.

这篇关于如何使用 Eclipse 获取模拟器截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:如何使用 Eclipse 获取模拟器截图?

基础教程推荐