Android Question OkHttp library not found

hatzisn

Expert
Licensed User
Longtime User
Hi everyone,

I am looking for okHttp library which is not attached in the proper thread as it is written there.
Can someone help?

Thanks in advance,
Nikos
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
There is no DLL in B4A. Libraries are usually shipped with 1 XML File and one JAR file.

Away from that you can try to use the two Classes.

Or you can try to Compile the Source-Code to a Library.

I´m not sure that it will work with this OLD B4A Version. 3.82 is about 4 years old.
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
OkHttp is an internal library. It will not work with v3.82.
You can still use the old Http library. Make sure to use android.jar versioned lower than 23.

Internal library? I already created a program with it before I change computer. Last time I was told
that OkHttpUtils2 is in another version of b4a and I had to use the ".bas" instead. Can you or someone
send me in my e-mail the .jar and the xml. It is hatzisn612@gmail.com.

https://www.b4x.com/android/forum/threads/problem-with-okhttp-and-okhttputils2.67780/
 
Last edited:
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
Upvote 0

PierPaduan

Active Member
Licensed User
Longtime User
Upvote 0
Top