I need some help with showing/allowing the keyboard to show and input.
My basic app has a main screen with buttons, on button click it opens a webview, one of my buttons opens a webview to an HTML page with an input form. When you click on an input field, the keyboard does not show and when you use the hardware keyboard on the emulator it just brings up chinese suggestions and does not input any text.
As Brent suggested, following line will serve the purpose -
webView.requestFocus(View.FOCUS_DOWN);
this happens because on page loading webpage loses its focus so this line just bring the focus back to page.
For those who end up at this question, A detailed discussion on this topic is here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With