Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

Forum

Webview goback is n...
 

*  Some forums are hidden from guests ( Ex-: Movies , Games , TV Series , Etc... ) Register / Login to see them ( Download , Play , Online Stream , Entertainment Talk , Etc..  )

[Solved] Webview goback is not working?  

   RSS

0

Hi. I made small android application for my website. But goback button is not working. How to do this?

Topic Tags
2 Answers
3

Hi fast rider. Use this code...

@Override
public void onBackPressed() {
if (myWebView.canGoBack()) {
myWebView.goBack();
} else {
super.onBackPressed();
}
}

This post was modified 10 months ago by Danushka Sanjeewa
0

It works for me also.. thanks

Share:
Open

Close

Please Login or Register