I am using webview in Android. But strangely, sometimes even webview canGoBack method returns true, webview goBack method doesn’t work.
if (webView.canGoBack())
webView.goBack();
Thanks for any idea.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I finally managed to figure out how to do it
default behaviour of onFormResubmission is not to resubmit. resend.sendToTarget() changes that.
this will make your hardware back button work if you have made some code to handle the hardware button