Extend WebViewClient and call onPageFinished() as follows:
mWebView.setWebViewClient(new WebViewClient() {
public void onPageFinished(WebView view, String url) {
// do your stuff here
}
});
More Related Contents:
- How to go back to previous page if back button is pressed in WebView?
- How do I get the web page contents from a WebView?
- Clicking URLs opens default browser
- Playing HTML5 video on fullscreen in android webview
- Webview avoid security alert from google play upon implementation of onReceivedSslError
- Disable scrolling in webview?
- Load HTML file into WebView
- Android webview & localStorage
- How to load external webpage in WebView
- Android WebView “tel:” links show web page not found
- Loading Youtube video through iframe in Android webview
- Is `shouldOverrideUrlLoading` really deprecated? What can I use instead?
- How does evaluateJavascript work?
- How to change the FontSize in an Android WebView?
- Add a Progress Bar in WebView
- Android WebView, Scaling Image to fit the screen
- How would I display one view as an overlay of another?
- Display a part of the webpage on the webview android
- How to prevent a scrollview from scrolling to a webview after data is loaded?
- How to load html string in a webview?
- Android WebView VS Phone Browser
- Kitkat kills: Not allowed to load local resource: file:///android_asset/webkit/android-weberror.png
- Support for other protocols in Android webview
- Android WebView JellyBean -> Should not happen: no rect-based-test nodes found
- shouldOverrideUrlLoading in WebView for Android not running
- Two way sync for cookies between HttpURLConnection (java.net.CookieManager) and WebView (android.webkit.CookieManager)
- Android, webview user agent vs browser user agent
- How to enable deep-linking in WebView on Android app?
- Android WebView TimeOut
- How to Hide ActionBar/Toolbar While Scrolling Down in Webview