有时候我们需要在PC上显示真机的屏幕,Android的ADM只能静态的监听一桢图像,所以在Google Code上,Google提供了一个Android Screen Monitor工具来实时显示手机屏幕:
http://code.google.com/p/android-screen-monitor/ 点击打开链接
介于大部分的朋友无法翻墙,这里提供下CSDN的下载链接 点击打开
System Requirements
- Ver.2.00 - 2.50
- JRE(JDK) 5 or 6 and must set path to java bin directory
- Android 1.5-4.2 SDK and must set path to android sdk tools and platform-tools directory
- Ver.1.00 - 1.50
- Windows XP (32-bit) or Vista (32-bit)
- Android 1.5-1.6 SDK and must set path to android sdk tools and platform-tools directory
Install
- Install JRE(JDK) 5 or 6 and set path to java bin directory
- Install Android SDK and set path to android sdk tools and platform-tools directory
- Download Android Screen Monitor
How to use
- Ver.2.00 - 2.50
- Before launch ASM, ensure connecting android device and your PC with USB cable
- Launch ASM that file name is asm.jar by java command such as "java -jar asm.jar" on command prompt or terminal
- Select android device which you want to monitor, when a Android Device window was shown
- ASM will show android device screen to your desktop window
- You can use several features by context menu (Right click on two button mouse environment or CTRL + Left click on one button mouse environment)
- Ver.1.00 - 1.50
- Before launch ASM, ensure connecting android device and your PC with USB cable
- Launch ASM that file name is AndroidScreenMonitor.exe
- Select android device which you want to monitor, when Android Device window was shown
- ASM will show android device screen to your desktop window
下面讲解下使用方法:
1、配置好Java环境变量,由于我们使用的是jar,所以配置好环境变量后比较方便
2、如果SDK环境变量配置好了,直接按照官网上的方法就可以了,如果没有配置,那么:
java -jar /data/SDK/sdk/platform-tools/asm.jar
写完整路径就OK了。
运行后会让你选择要显示的机器:
点击OK后我们就可以实时看见我们的屏幕了:
以上。