When testing in the android simulator, you often need to input data to edittext, for example. There are three keyboard input methods for the android simulator:
1. The virtual keyboard that comes with the Android system appears when you click the text box:
2. Visual virtual keyboard on the left of the android virtual machine:
3. We use the physical keyboard of the computer.
At the beginning of the test, every time you need to use your mouse on the screen of the simulator, it's as messy as a fool. After a day, I couldn't stand it at noon, and I found out, it was finally found that the android virtual machine must be specified during simulator creation when supporting the physical keyboard.
The following figure shows the page for creating a VM or editing a VM:
Add the preceding two items:
Keyboard lid support: physical keyboard of the simulator. Set it to yes, indicating that the physical keyboard of the simulator is available;
Keyboard support: Set the keyboard to yes and the keyboard to be available.
That's OK. Well, it's really nice to use a physical keyboard. For future development, you need to familiarize yourself with the compiler to improve efficiency. Don't try it out because you are too lazy. It is still necessary to work hard on computers.