0
I’m trying to make an app in Webview, but when I click on a button that contains url it displays to if I want to open in which app, there is some way to make the app itself open the next page?.
0
I’m trying to make an app in Webview, but when I click on a button that contains url it displays to if I want to open in which app, there is some way to make the app itself open the next page?.
1
you have to set a Webviewclient on your webView.
it’s simple to do it, see:
webView.setWebViewClient(new WebViewClient(){
public boolean overrideUrlLoading (WebView view, String url) {
view.loadUrl(url);
return true;
}
});
with this, all links will be opened in the application.
Browser other questions tagged android webview
You are not signed in. Login or sign up in order to post.