Android WebView click open within WebView not a default browser

后端 未结 12 2014
迷失自我
迷失自我 2020-11-27 16:34

I did one sample application using WebView, in that web view the URL comes from web services. It\'s working fine, but if I click any link within that WebView, its automatica

12条回答
  •  Happy的楠姐
    2020-11-27 17:03

    webview.setWebViewClient(new WebViewClient());
    webview.loadUrl(url);
    

    Do set webview client.

提交回复
热议问题