public void onPageStarted(WebView webView, String str, Bitmap bitmap) {
   if (this.mCallBack != null) {
     this.mCallBack.onPageStartedCallBack(webView, str, bitmap);
   }
   if (!str.startsWith(this.mAuthRequestParam.getAuthInfo().getRedirectUrl())
       || this.isCallBacked) {
     super.onPageStarted(webView, str, bitmap);
     return;
   }
   this.isCallBacked = true;
   handleRedirectUrl(str);
   webView.stopLoading();
   WeiboSdkBrowser.closeBrowser(this.mAct, this.mAuthRequestParam.getAuthListenerKey(), null);
 }
 public boolean shouldOverrideUrlLoading(WebView webView, String str) {
   if (this.mCallBack != null) {
     this.mCallBack.shouldOverrideUrlLoadingCallBack(webView, str);
   }
   if (str.startsWith("sms:")) {
     Intent intent = new Intent("android.intent.action.VIEW");
     intent.putExtra("address", str.replace("sms:", a.f));
     intent.setType("vnd.android-dir/mms-sms");
     this.mAct.startActivity(intent);
     return true;
   } else if (!str.startsWith(WeiboSdkBrowser.BROWSER_CLOSE_SCHEME)) {
     return super.shouldOverrideUrlLoading(webView, str);
   } else {
     if (this.mListener != null) {
       this.mListener.onCancel();
     }
     WeiboSdkBrowser.closeBrowser(this.mAct, this.mAuthRequestParam.getAuthListenerKey(), null);
     return true;
   }
 }