code: private static WebView createWebView(final Context context) {
          final WebView webView = new WebView(context);
          webView.getSettings().setSupportMultipleWindows(true);
          webView.setWebChromeClient(new WebChromeClient() {
              @Override
              public boolean onCreateWindow(final WebView view, final boolean isDialog, final boolean isUserGesture, final Message resultMsg) {
                  final WebView.HitTestResult result = view.getHitTestResult();
                  final String data = result.getExtra();
                  if (data != null) {
                      final Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(data));
                      context.startActivity(browserIntent);
                  }
                  return false;
              }
          });
          return webView;
      }
docs: ==========================================================================================================================