title: WebView open target_blank in browser
body: <p>I want to make my web view to open target="_blank" links in an external browser instead of in webView. i tried the following code but didnt work.   </p>
  
  <pre><code>        webview.getSettings().setJavaScriptEnabled(true);
      webview.getSettings().setSupportMultipleWindows(true);
  
      webview.setWebChromeClient(new WebChromeClient() {
          @Override
          public boolean onCreateWindow(WebView view, boolean dialog, boolean userGesture, android.os.Message resultMsg) {
              WebView.HitTestResult result = view.getHitTestResult();
              String data = result.getExtra();
              Context context = view.getContext();
              Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(data));
              context.startActivity(browserIntent);
              return false;
          }
      });
      webview.loadUrl("http://reliantfever735.comli.com/cricket.html");
  
  
  
  }
  </code></pre>
  
  <p>p.s. - I'm new so dont go advanced on me</p>