Does anybody know how to display the keyboard in the emulator when the EditText field has focus. I have tried so many solutions but none of them work. I am working in android 4.3 Jelly Bean. The Emulator I am using is GenyMotion. I would also like to know how to hide the keyboard when the EditText field loses focus. I assume however if the keyboard does not appear in the emulator it won't appear when testing on the device.
Any help much appreciated
Just check the details of your emulator. Soft Keyboard won't be displayed if you have checked the option "Hardware Keyboard Present", uncheck that option. And it will automatically displayed on the device since device doesn't have hard keyboard.
run Genymotion as the application from windows or mac (not from android studio plugin)
then select the settings sign on the right of the virtual device you have installed from the virtualdevicelist
choose the 'use virtual keyboard for textinput'
then close the application.
this worked for me in genymotion 2.6.0
Close emulator
-> Setting button
-> Check Use virtual keyboard for text input
Try this it work for me:
GO to settings menu ->Language&Input->turn off the Hardware Physical keyboard.