1webView.setWebViewClient(new WebViewClient() {
2 @Override
3 public boolean shouldOverrideUrlLoading(WebView view, String url) {
4 if( URLUtil.isNetworkUrl(url) ) {
5 return false;
6 }
7
8 Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
9 startActivity( intent );
10 return true;
11 }
12 });