Connect the android simulator to the physical keyboard

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.