Login with your social account

Thread Rating:
  • 165 Vote(s) - 2.73 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How can I enable my PC keyboard on the Android emulator?

Help me please, I want to run/test Android apps on the Android emulator and I want to type using my PC keyboard, as it lets me type and test faster. When I use the emulator though, it only accepts input from the native Android (on-screen) keyboard.

How can I enable my PC keyboard for use within the Android emulator?

I would really appreciate your help and thanks in advance

You need to change the config.ini file in your .android directory. This file is found under the main hard drive directory. From there, open the avd file and you will see a list of virtual devices. Open the desired device and then open the config.ini in notepad. Then copy this text: "hw.keyboard = yes" (minus the quotes) and then save and close. The next time you open your emulator, you should be able to use the keyboard.

You can also open up the hardware-qemu.ini file in the same directory as the config.ini and then you can see a list of all the hardware options. Change the hw.keyboard from "no" to "yes".

Hope this helps Smile

Forum Jump:

Users browsing this thread: 1 Guest(s)