开发者

Taking printscreens of Android Phones?

开发者 https://www.devze.com 2023-01-29 02:20 出处:网络
How can I take the printscreen of the android phone?? I am doing an application with GPS. So I cannot use emulator to take the printshot.. Is there any app to 开发者_如何学Godo this?Connect your phone

How can I take the printscreen of the android phone?? I am doing an application with GPS. So I cannot use emulator to take the printshot.. Is there any app to 开发者_如何学Godo this?


Connect your phone via USB, go to Debug perspective in Eclipse, select the "Devices" tab, select your device in the list and click the "Screen Capture" icon.


The Android emulator provides an Emulator Console that you can use to "dynamically query and control the simulated device environment." In this case, you can use it to set the GPS location.

For example, to set the latitude and longitude, use the following emulator console command (where <latitude> and <longitude> are your desired values):

fix <longitude> <latitude> 

By using this command, you can use the emulator to take a screenshot.


If your device is rooted, there's an app called ShootMe that you can use. If not (and if you don't plan on rooting), Donut and Brandon's methods will work, depending on if you'd rather use the device or the emulator. ShootMe will not work without root access.


To take a printscreen from my Samsung Galaxy GIO (Android 2.3.3) I just hold the back button and press the Home button...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号