How to take emulator screenshots using Eclipse?

自闭症网瘾萝莉.ら 提交于 2019-11-26 11:51:19

问题


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?


回答1:


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.

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




回答2:


Screenshots on Android Devices using Eclipse, a Visual Guide




回答3:


In the DDMS perspective in Eclipse there is a "Screen Capture" button. (Make sure you have your Android SDK and Eclipse plugin up to date, not sure this was always an option). Just press that button and a screenshot of whatever device you have DDMS connected to (either a real Android device or the emulator) will be created and opened in a new window where you can save it as a png.




回答4:


You load the emulator with your app normally, through Eclipse, but you take the actual screenshot from DDMS, a tool that's included in your SDK, under the "tools" folder.

In DDMS, press Ctrl+S to take a screenshot.




回答5:


1-open the DDMS prescriptive,the right click on mouse. 2-there click on export screenshot. 3-then it will show you option to save your file as .png file,with whatever name you like you may save it.




回答6:


I just do a control print screen, which copies the image into the clipboard, then open MS Paint then do a control Z. Then you can crop and size it to your liking. Is this ok?



来源:https://stackoverflow.com/questions/2065993/how-to-take-emulator-screenshots-using-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!