hatzisn Expert Licensed User Longtime User May 4, 2017 #1 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
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 May 4, 2017 #2 hatzisn said: is not attached in the proper thread Click to expand... It IS there. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/ Make sure that you Erel said: If you want to use the new HttpUtils2 library you need to copy it to the internal libraries folder. Click to expand... Upvote 0
hatzisn said: is not attached in the proper thread Click to expand... It IS there. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/ Make sure that you Erel said: If you want to use the new HttpUtils2 library you need to copy it to the internal libraries folder. Click to expand...
hatzisn Expert Licensed User Longtime User May 4, 2017 #3 DonManfred said: It IS there. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/ Make sure that you Click to expand... It is not attached there, the "dll". Only a zip file with a source code is there. I use b4a v3.82. Do I compile to a dll? Update: I tried to load the source code and it responds to me that okHttp is missing. Upvote 0
DonManfred said: It IS there. https://www.b4x.com/android/forum/threads/okhttp-replaces-the-http-library.54723/ Make sure that you Click to expand... It is not attached there, the "dll". Only a zip file with a source code is there. I use b4a v3.82. Do I compile to a dll? Update: I tried to load the source code and it responds to me that okHttp is missing.
DonManfred Expert Licensed User Longtime User May 4, 2017 #4 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
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.
Erel B4X founder Staff member Licensed User Longtime User May 4, 2017 #5 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. Upvote 0
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.
hatzisn Expert Licensed User Longtime User May 5, 2017 #6 Erel said: 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. Click to expand... 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. https://www.b4x.com/android/forum/threads/problem-with-okhttp-and-okhttputils2.67780/ Last edited: May 5, 2025 Upvote 0
Erel said: 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. Click to expand... 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. https://www.b4x.com/android/forum/threads/problem-with-okhttp-and-okhttputils2.67780/
hatzisn Expert Licensed User Longtime User May 5, 2017 #7 hatzisn said: 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 [email protected]. https://www.b4x.com/android/forum/threads/problem-with-okhttp-and-okhttputils2.67780/ Click to expand... Never mind, I found it. Thanks anyway. Upvote 0
hatzisn said: 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 [email protected]. https://www.b4x.com/android/forum/threads/problem-with-okhttp-and-okhttputils2.67780/ Click to expand... Never mind, I found it. Thanks anyway.
P PierPaduan Active Member Licensed User Longtime User Jun 6, 2017 #8 hatzisn said: Never mind, I found it. Thanks anyway. Click to expand... Hi, Can you please post the link where to find the jar and xml of the okhttp? Thanks a Lot. Best regards. Upvote 0
hatzisn said: Never mind, I found it. Thanks anyway. Click to expand... Hi, Can you please post the link where to find the jar and xml of the okhttp? Thanks a Lot. Best regards.
DonManfred Expert Licensed User Longtime User Jun 6, 2017 #9 PierPaduan said: Can you please post the link where to find the jar and xml of the okhttp? Click to expand... It is inside the Library folder of your B4A Installation..... Upvote 0
PierPaduan said: Can you please post the link where to find the jar and xml of the okhttp? Click to expand... It is inside the Library folder of your B4A Installation.....
P PierPaduan Active Member Licensed User Longtime User Jun 6, 2017 #10 DonManfred said: It is inside the Library folder of your B4A Installation..... Click to expand... Sorry Don, but in the internal libraries folder I found only HTTP.jar and HTTP.xml. Not OKHTTP... I'm using B4A v.5.50. Where can I find it? Upvote 0
DonManfred said: It is inside the Library folder of your B4A Installation..... Click to expand... Sorry Don, but in the internal libraries folder I found only HTTP.jar and HTTP.xml. Not OKHTTP... I'm using B4A v.5.50. Where can I find it?
Erel B4X founder Staff member Licensed User Longtime User Jun 6, 2017 #11 OkHttp is an internal library. It is included in newer versions of B4A. You should use the Http library with versions before B4A v5.80. Upvote 0
OkHttp is an internal library. It is included in newer versions of B4A. You should use the Http library with versions before B4A v5.80.
P PierPaduan Active Member Licensed User Longtime User Jun 6, 2017 #12 Erel said: OkHttp is an internal library. It is included in newer versions of B4A. You should use the Http library with versions before B4A v5.80. Click to expand... Thanks Erel, but I think that I cannot use the old http because I need to use https servers, and from yesterday I have problems connecting to those server, please see my post: https://www.b4x.com/android/forum/t...eption-no-peer-certificate.80317/#post-508674 Other ways to fix the problem? Thanks, Regards. Upvote 0
Erel said: OkHttp is an internal library. It is included in newer versions of B4A. You should use the Http library with versions before B4A v5.80. Click to expand... Thanks Erel, but I think that I cannot use the old http because I need to use https servers, and from yesterday I have problems connecting to those server, please see my post: https://www.b4x.com/android/forum/t...eption-no-peer-certificate.80317/#post-508674 Other ways to fix the problem? Thanks, Regards.
Erel B4X founder Staff member Licensed User Longtime User Jun 6, 2017 #13 You can download the trial version and see whether it is solved with OkHttpUtils2. Internal libraries are only tested with the version that they are shipped with so I cannot say whether OkHttpUtils2 will work with v5.50 or not. Upvote 0
You can download the trial version and see whether it is solved with OkHttpUtils2. Internal libraries are only tested with the version that they are shipped with so I cannot say whether OkHttpUtils2 will work with v5.50 or not.