How to take emulator screenshots using 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 获取模拟器截图?
基础教程推荐
- Java Swing计时器未清除 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 大摇大摆的枚举 2022-01-01
- 多个组件的复杂布局 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
