WebView webView = new WebView(this);
webView.loadUrl("https://baidu.com");
// 可以避免跳转到内置的浏览器
webView.setWebViewClient(new WebViewClient());
setContentView(webView);
WebView webView = new WebView(this);
webView.loadUrl("https://baidu.com");
// 可以避免跳转到内置的浏览器
webView.setWebViewClient(new WebViewClient());
setContentView(webView);
本文标题:webview 禁止跳转到系统内置浏览器
本文链接:https://www.haomeiwen.com/subject/cxaogctx.html
网友评论