سؤال

I am unable to see the following webpage in an Android webview: https://play.ericsson.net It should re-direct to a login page, can anyone produce a success case for opening the above webpage in an android webview?

FYI I'm activating javascript and setting WebViewClient.

Am I missing something?

هل كانت مفيدة؟

المحلول

Did you try this? Https sites are troublesome on android.

mWebView.setWebViewClient(new WebViewClient() {
    public void onReceivedSslError (WebView view, SslErrorHandler handler, SslError error) {
        handler.proceed();
    }
}
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top