Code example for SslErrorHandler

Methods: proceed

0
            super.onReceivedError(view, errorCode, description, failingUrl);
            mListener.onError(new DialogError(description, errorCode, failingUrl));
            WeiboDialog.this.dismiss();
        } 
 
        @Override 
        public void onPageStarted(WebView view, String url, Bitmap favicon) {
            Log.d(TAG, "onPageStarted URL: " + url);
            // google issue. shouldOverrideUrlLoading not executed 
            if (url.startsWith(mWeibo.getRedirectUrl())) {
                handleRedirectUrl(view, url);
                view.stopLoading();
                WeiboDialog.this.dismiss();
                return; 
            } 
            super.onPageStarted(view, url, favicon);
            mSpinner.show();
        } 
 
        @Override 
        public void onPageFinished(WebView view, String url) {