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

2023-06-26Java开发问题
3

本文介绍了如何使用 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 获取模拟器截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

在 Eclipse 项目中使用西里尔文 .properties 文件
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)...
2024-08-25 Java开发问题
18

如何在java中找出依赖于语言环境的文本方向?
How to find out locale-dependent text orientation in java?(如何在java中找出依赖于语言环境的文本方向?)...
2024-08-25 Java开发问题
24

Eclipse 在尝试启动 Android 应用程序时卡住了
Eclipse gets stuck when trying to launch Android app(Eclipse 在尝试启动 Android 应用程序时卡住了)...
2024-08-25 Java开发问题
14

Eclipse:无法初始化监视器线程:无法建立环回连接
Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection(Eclipse:无法初始化监视器线程:无法建立环回连接)...
2024-08-25 Java开发问题
4

Eclipse-找不到JDK
Eclipse- JDK not found(Eclipse-找不到JDK)...
2024-08-25 Java开发问题
6

错误:CreateProcess 错误=216,此版本的 %1
Error:CreateProcess error=216, This version of %1(错误:CreateProcess 错误=216,此版本的 %1)...
2024-08-25 Java开发问题
9