back and forward button for webview in android. how?
android, android-emulator, webview
Solution
I solved this problem using `canGoBack()` and `canGoforward()`, we can disable those buttons using `obj_name.setEnabled(false);`.
Here's a good sample from Google's, worth looking at.
Problem
I'm working on a `webview`. If I click anything in my `webview`, it redirects to another link by using `webviewclient` class. Now I put a footer contains `back` and `forward` button, to do the functionality which in ordinary browser. I can work about to `back` and `forward` of `webview`. It works fine. Now I want to set a buttons in the footer are initially should be not focused and it should work clickable and not clickable dynamically.