Hello, I try to establisch a HttpsURLConnection with:
HttpsURLConnection conn = (HttpsURLConnection) new URL(url).openConnection()
but I get an Exception:
E/JavaBinder( 901): java.lang.ClassCastException: org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection
But I can't find out, why. The same example is everywhere across the web.