0

I am developing an Android application.In that i m having one webview and i m loading my server url into that webview like say.

WebView.loadUrl("serverurl");

and it also has 1 refresh button. which on clicked,again webview is getting loaded.but the problem is that after refresh button is clicked,Android keypad is not getting displayed to type anythng after clicking on the textbox of the login page coming from the server.

Not getting how to solve this issue.

1 Answer 1

1

this link really helped : Why is Android WebView refusing user input?

Just added

webView.requestFocus(View.FOCUS_DOWN);

and it solved the problem.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.