以设备的当前屏幕的屏幕截图 [英] Taking screenshot of device's current screen

查看:132
本文介绍了以设备的当前屏幕的屏幕截图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当一个人想出版自己的Play商店(previously称为Android Market的)应用程序,他可以上传自己的应用程序的截图。我想借这些截图我目前的设备(摩托罗拉Droid),我使用来测试应用程序。

When one wants to publish his app on the Play Store (previously known as Android Market), he can upload screenshots of his app. I would like to take these screenshots with my current device (Motorola Droid) that I'm using to test the application.

有在Play商店,让你采取截图一些应用程序,但你必须以root你的电话,我不想。有堆栈溢出内相关的话题,人们希望采取截图离开那里code(这里)。不过,我只想把我与当前设备,它通过USB到我的电脑连接运行的应用程序的截图;我通过Eclipse开发,所以应该有一种方法来告诉你正在运行的设备,它应该通过SDK采取截图吧?

There are some apps on the Play Store that allow you to take screenshots, but you have to root your phone, which I don't want to. There are related topics within Stack Overflow where people want to take screenshots out of there code (here). However I just want to take screenshots of my running app with the current device, which is connected via USB to my computer; I'm developing via Eclipse, so there should be a way to tell your running device that it should take a screenshot via the SDK, right?

一些网站(如 Lifehacker的)提到的方式为此,

Some website (e.g. LifeHacker) mention a way to do this,

要采取截图,你将需要启用下的设置USB调试,安装Android软件开发工具包,然后用调试工具连接到手机

To take a screenshot, you'll be required to enable USB Debugging under the settings, install the Android software development kit, and then connect to the phone with a debug tool

但他们没有解释什么,我真的需要做的一步一步的。

but they don't explain what I actually need to do step-by-step.

我真的AP preciate如果有人能帮助我。

I would really appreciate if someone can help me out.

推荐答案

因为你很可能是开发人员,你有SDK和Eclipse的工作运行Android应用程序。只要插上电话,并确保您的电话启用了USB调试,设备需要显示在Eclipse中的 DDMS 观点。

Since you probably are a developer, you have SDK and working Eclipse for running Android applications. Just plug in the phone, and make sure you enabled on the Phone the USB Debugging, the device needs to show up in the DDMS perspective of Eclipse.

在您的设备显示在 DDMS 角度来看,在图标那里捕获屏幕。

Once your device shows up in the DDMS perspective there is in icon there to capture the screen.

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

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