I'm trying to make an application in Webview, but when I click on a button that contains url it displays the if I want to open in which app, is there any way to make the app itself open the next page ?.
I'm trying to make an application in Webview, but when I click on a button that contains url it displays the if I want to open in which app, is there any way to make the app itself open the next page ?.
You have to set a WebViewClient in your webView.
It's simple to do this, see:
webView.setWebViewClient(new WebViewClient(){
public boolean overrideUrlLoading (WebView view, String url) {
view.loadUrl(url);
return true;
}
});
With this, all links will open in the application.