I'm creating a WebView
for Android. When I load the App, the imported page works fine, but when I click on some link of the page, that same link opens in another browser.
I'm creating a WebView
for Android. When I load the App, the imported page works fine, but when I click on some link of the page, that same link opens in another browser.
Set a WebViewClient in your WebView to handle URLs:
wv.setWebViewClient(new WebViewClient() {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return false;
}
});