【发布时间】:2011-12-11 09:56:12
【问题描述】:
您好,我需要使用此方法,但出现白屏。如果我使用 http 而不是 https 它可以正常工作,但是为什么呢?我需要 https :(
%%%%%% 工作 %%%%%%
String postData = "username=user&password=pass";
String url = "http://www.ilias.de/docu/login.php";
webView.postUrl(url, EncodingUtils.getBytes(postData, "base64"));
%%%%% 不工作
String postData = "username=user&password=pass";
String url = "https://www.ilias.de/docu/login.php";
webView.postUrl(url, EncodingUtils.getBytes(postData, "base64"));
【问题讨论】:
-
很好的问题——很好的答案。
标签: android post https webview