Is it possible to open local hosting of a web application in tomcat using WebView ?
WebView
I tried to use
webView.loadUrl("https://me.com/myproj/mobile/online/overview.do");
but instead I get a blank page. Any ideas on how to fix this?
Your problem is that you are trying to access the https address.
https
It seems that if you are developing a simple solution for version 2.2+:
engine = (WebView) findViewById(R.id.my_webview); engine.setWebViewClient(new WebViewClient() { public void onReceivedSslError (WebView view, SslErrorHandler handler, SslError error) { handler.proceed() ; } }
But if you are developing older versions, you are having problems because this function introduced the API from Froyo.
Literature: