Hi All, I am getting this error (Error in http request. Status:0) when I am trying to load a url in webview in my application.
Here is my code:
webView.getSettings().setJavaScriptEnabled(true);
webView.loadUrl(webUrl);
webView.setWebChromeClient(new WebChromeClient() {
public void onProgressChanged(WebView view, int progress) {
progressbar.setProgress(progress);
progressbar.setVisibility(View.
VISIBLE);
if(progress == 100)
progressbar.setVisibility(View.
INVISIBLE);
}
});
webView.setWebViewClient(new HelloWebViewClient());
webView.getSettings().setBuiltInZoomControls(true);
webView.getSettings().setUseWideViewPort(true);
webView.getSettings().setLoadWithOverviewMode(true);
What am I supposed to do? Please help.
Regards,
Shruthi.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en<<attachment: error.png>>

