• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Webview problem

Nadav Kedem

Lurker
Jul 30, 2015
1
0
Hi
I have very strange problem when I use web view api

when I use

webView.getSettings().setJavaScriptEnabled(true);
public void onProgressChanged(WebView view, int progress) {
WebViewActivity.this.setProgress(progress * 1000);
}
});
webView.setWebViewClient(new WebViewClient() {
public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) {
Toast.makeText(WebViewActivity.this, "Oh no! " + description, Toast.LENGTH_SHORT).show();
}
});

webView.loadUrl("http://www.ticketlev.co.il/WebTixsNet?configkey=DIZ_Seret&emc=10701");


it disable buttons in the web


if I drop the line of web client it disable the option to use onbackpress

Nadav
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones