hi i need to use this method but i get a white screen. if I use http instead https it works ok, but why? i need https :(
%%%%%% WORKS %%%%%%
String postData = "username=user&password=pass";
String url = "http://www.ilias.de/docu/login.php";
webView.postUrl(url, EncodingUtils.getBytes(postData, "base64"));
%%%%% DOESN'T WORK
String postData = "username=user&password=pass";
String url = "https://www.ilias.de/docu/login.php";
webView.postUrl(url, EncodingUtils.getBytes(postData, "base64"));
Have you checked out this tutorial for an answer?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With