use Asm.jar to project your Android phone to your computer screen
Sometimes it may be necessary to project some of the operations on the phone, such as the display of some app demos. In fact, there are specialized hardware devices that are capable of doing this thing. But it's not necessary to spend money on hardware devices to showcase a demo. Just right, for Android phone. There is an open source jar package capable of doing this: Android screen Monitor (Asm.jar), official website https://code.google.com/p/android-screen-monitor/.
1, to the official website Download ASM Zip package, unzip to get Asm.jar file
2. Copy it to the Platform-tools folder of ADT
3, the execution Java-jar Asm.jar can start
Of course, it is more recommended that you write a small script, for example: asm.sh
| #!/bin/sh# Write the absolute path to the Asm.jar file hereJava-jar/user/zhaoxianlie/adt/sdk/platform-tools/asm.jar |
To change the permissions associated with the asm.sh script:
chmod 0755 asm.sh
Throw the asm.sh under/usr/local/bin, or create a soft connection in this folder:
Ln-s/user/zhaoxianlie/adt/sdk/platform-tools/asm.sh ASM
So, in no matter what folder. Run this command directly to launch Android screen Monitor:asm
Most of the tool has a little card, not very smooth, very real-time mobile phone screen display to the PC screen, but the basic can meet our use needs.
On the execution screen, the default magnification is 100%. The assumption is that the high-resolution phone, which may not be fully displayed, is able to right-click on the screen: zoom→ Select Zoom!
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Android uses Asm.jar to project Android phone screen to PC