Environment: win7x64
ZC: This is the virtual machine that is used in the SDK
ZC: Want to adjust the size of the window (screen) of the virtual machine, but the way is not too ideal ... Record it first, there is a better way to say it later ...
ZC: The following 2 ways common defects (where the egg Hurts): The title bar of the virtual machine's window is outside the computer screen (beyond the top edge), need the code to move this window to see its title bar ...
1. Start the virtual machine in AVD Manager.exe
Click on the "Start ..." button and the following screen will appear: (When I was editing the virtual machine, I chose "No skin" in the skin)
"√" select "Scale display to real size", then the virtual machine that starts is the real
ZC: Defect: The command line parameter was not found to achieve the same effect of "scale display to real size" ...
2. Command line to start the virtual machine
2.1. Use a command similar to the following: "emulator @z02-scale 0.7-qemu-serial COM1" (ZC: "-scale is the scale of the specified virtual machine screen size")
ZC: "@" after "z02" is the name of the virtual machine as configured in the figure above
ZC: Defect: The window size of the virtual machine is still very large, but the screen image of the phone inside is scaled (seemingly "emulator @z02-scale 0.5-qemu-serial COM1" when there is no such defect ... )
3.
4.
5.
Virtual machines-screen size (suitable size)