Hello,
The following code does not work with android 4.4.2.
Is there a solution allowing an https request
B4X:
Dim j As HttpJob
j.Initialize("", Me)
j.Download("https://www.google.com")
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release
Use the older version. The new version is better but there is nothing problematic with using the old version
You can use both libraries by renaming one of the libraries but you will also need to rename the dependency name in other libraries. Not worth the hassle.
Thank you.
I have replaced the okHTTP library (ok* files) by those of b4a_11'20.
job.Download("https://www.google.com") is ok
But a request https with job.PostMultipart produces an error on Android 4.4.2: ResponseError. Reason: javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x63731528: Failure in SSL library, usually a protocol error