Code example for WebViewClient

Methods: onFormResubmission

            mClient.onReceivedHttpAuthRequest(view, handler, host, realm);
        public void onFormResubmission(WebView view, Message dontResend,
                Message resend) {
            mClient.onFormResubmission(view, dontResend, resend);
        public void onReceivedError(WebView view, int errorCode,
                String description, String failingUrl) {
            mClient.onReceivedError(view, errorCode, description, failingUrl);
    // Subclass of WebChromeClient to display javascript dialogs. 
    private class SubWindowChromeClient extends WebChromeClient {
        // This subwindow's tab. 
        private final Tab mTab;
        // The main WebChromeClient. 
        private final WebChromeClient mClient;