I'm debugging an issue with the soft keyboard display not displaying when it should. However, I don't have a device handy for testing. The problem is that the emulator never shows the soft keyboard.
Some skins have a keyboard constantly displayed on the right, some don't, but none that I've tried so far has ever shown a keyboard on the device screen.
Is there some setting that I missed?
I found out how to do this on the emulator itself. All you need to do is:
open settings app -> Language & Input -> Go to the "Keyboard & Input Methods -> click Default
This will bring up a Dialog in which case you can then disable the Hardware Keyboard by switching the hardware keyboard from on to off. This will disable the Hardware keyboard and enable the softkeyboard.
If you're using AVD manager add a hardware property Keyboard support and set it to false.
That should disable the shown keyboard, and show the virtual one.
Settings > Language & input > Current keyboard > Hardware Switch ON.
This option worked.
Settings > Language & input > Current keyboard > Hardware Switch ON.
It allows you to use your physical keyboard for input while at the same time showing the soft keyboard.
I just tested it on Android Lollipop and it works.
To be more precise, with Lollipop these are the steps I followed to show soft keyboard:
- Settings > Language & Input;
- under "Keyboard & input methods" label, select "Current Keyboard";
- A Dialog named "Change Keyboard" appears, switch ON "Hardware", then select "Choose keyboards";
- another Dialog appears, switch ON the "Sample Soft Keyboard". Here you get an alert about the possibility that keyboard will store everything you write, also passwords. Give OK;
- Repeat above steps in order to show "Change Keyboard" Dialog again, here the new option "Sample Soft Keyboard" is available and you can select it.
NOTE: after that, you might experience problems in running you app (as I had). Simply restart the emulator.