Android Question HttpUtils2 htpps request

Erel

B4X founder
Staff member
Licensed User
Longtime User
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.

TLS 1.2 on Android 4 devices: https://www.b4x.com/android/forum/threads/ssl-websocket-client.88472/page-2#post-560044

BTW, why do you need to support Android 4 devices?
 
Upvote 0

bernardR

Member
Licensed User
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
 
Upvote 0

bernardR

Member
Licensed User
Hello Erel,
I have some users (children) of an online word game who post their solution with an old smartphone under kitkat.
My app is non-google.
 
Upvote 0
Top