title: Xamarin Webview Wont Launch New Tabs
body: <p>I was playing with xamarin android webview and i encountered this problem.The webview does not open the pages that is set to open in new tab. For example there are job advertisements on stackoverflow that are set to open in new tabs and when you touch on them nothing happens!. Thanks in the advance and here is my code.</p>
  
  <pre><code> [Activity(MainLauncher = false, Theme = "@android:style/Theme.NoTitleBar")]
  public class Obs_Activity : Activity
  {
      WebView web_view;
      protected override void OnCreate(Bundle savedInstanceState)
      {
          base.OnCreate(savedInstanceState);
          SetContentView(Resource.Layout.sist);
          web_view = FindViewById&lt;WebView&gt;(Resource.Id.webview);
          web_view.Settings.SetSupportMultipleWindows(false);
          web_view.Settings.UseWebViewBackgroundForOverscrollBackground = true;
          web_view.Settings.PluginsEnabled = true;
          web_view.Settings.AllowFileAccess = true;
          web_view.Settings.DisplayZoomControls = true;
          web_view.SetWebViewClient(new HelloWebViewClient(this));
  
  
          web_view.Settings.JavaScriptEnabled = true;
          web_view.Settings.JavaScriptCanOpenWindowsAutomatically = true;
          web_view.Settings.SetSupportZoom(true);
          web_view.LoadUrl("http://obs.kku.edu.tr/");
      }
  
  
  
  
  }
  public class HelloWebViewClient : WebViewClient
  {
      public Activity mActivity;
      public HelloWebViewClient(Activity mActivity)
      {
          this.mActivity = mActivity;
      }
      public override bool ShouldOverrideUrlLoading(WebView view, string url)
      {
          view.LoadUrl(url);
          Toast.MakeText(mActivity, "Yukleniyor...",
                               ToastLength.Long).Show();
          return true;
      }
  
      public override void OnReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, string host, string realm)
      {
          base.OnReceivedHttpAuthRequest(view, handler, host, realm);
          Toast.MakeText(mActivity, "Hata", ToastLength.Long).Show();
      }
  }
  </code></pre>
  
  <blockquote>
    <p>01-23 13:02:36.695 D/WebViewCallback(16789): shouldInterceptRequest=<a href="http://ogrenciportal.kku.edu.tr/getinfo.ashx?id=3&amp;tt=690" rel="nofollow noreferrer">http://ogrenciportal.kku.edu.tr/getinfo.ashx?id=3&amp;tt=690</a>
    01-23 13:02:36.711 D/WebViewCallback(16789): onLoadResource=<a href="http://ogrenciportal.kku.edu.tr/getinfo.ashx?id=3&amp;tt=690" rel="nofollow noreferrer">http://ogrenciportal.kku.edu.tr/getinfo.ashx?id=3&amp;tt=690</a>
    01-23 13:02:36.712 D/WebViewCallback(16789): doUpdateVisitedHistory=<a href="http://ogrenciportal.kku.edu.tr/Default.aspx#" rel="nofollow noreferrer">http://ogrenciportal.kku.edu.tr/Default.aspx#</a> reload=false
    01-23 13:02:36.740 D/WebViewCallback(16789): onPageFinished, url = <a href="http://ogrenciportal.kku.edu.tr/Default.aspx#" rel="nofollow noreferrer">http://ogrenciportal.kku.edu.tr/Default.aspx#</a></p>
  </blockquote>
  
  <p>This is the log when i press that link and nothing happens.</p>