B4J Library jHttpUtils2 Source Code - Erel    Nov 17, 2016   (5 reactions) For new projects it is recommended to use OkHttpUtils2.
jHttpUtils2 is included as a library. However there are cases where the source code is required.
For example if you want to use it with a non-UI app then you need to remove HttpJob.GetBitmap or it will not compile (this sub depends on jFX... Other jHttpUtils2 - missing httpclient-4.0.jar - Erel    Feb 5, 2014 If you see this error during compilation then download the attached jHttpUtils2 and replace the existing one.... B4J Question Error when switching from jHTTPUtils2 to jOkHTTPUtils2 - jmon    Aug 28, 2019 Hello,
I have encountered an error when I switched from jHTTPUtils2 to jOKHTTPUtils2:
Waiting for....RuntimeException: java.lang.NullPointerException
at anywheresoftware.b4a.BA.ra
iseEvent2(BA.java:120... Other B4J v8.80 has been released 🍾 - Erel    Dec 14, 2020   (48 reactions) Download link: https://www.b4x.com/b4j.html
Libraries tab improvements.
Indicators to help understand the code flow with resumable subs.
IDE performance improvements related to handling of b4xlibs.
The deprecated jHttp and jHttpUtils2 libraries were removed.
OkHttp updated.
#JavaCompilerPath attribute. Allows setting a JDK other than the one set in the global settings. Syntax: <java version... B4J Question [SOLVED] jHttpUtils2: Trapping 204 No Content - Mashiane    Nov 27, 2018 As Map = Json2Map(strResponse)
'assign variables
access_token = access.GetDefault...)
job.Release
Return False
End If
End Sub
Step 2: Process some rest api calls (HERE... B4J Question non-ui -> jHttpUtils2 -> Toolkit not initialized? - KMatle    Dec 6, 2015 Maybe I'm getting old (and I missed something), but..
Adding the jHttputils2 lib does not work. Submitting a job (Download2) gives
java.lang.IllegalStateException: Toolkit not initialized... B4J Question OkHttpRequest in the jHttpUtils2 - b4auser1    Dec 2, 2015 Is it planned to replace HttpRequest with OkHttpRequest in the jHttpUtils2 ?... Bug? Non-UI application with jHttpUtils2 (1.03) - woniol    Feb 7, 2014 Hi,
I have some problems using jHttpUtils2 library with Non-UI application (console application...)
ExitApplication2(1)
End If
Dim j As HttpJob
j.Initialize("j", Me)
j.Download...
ExitApplication2(0)
End Sub
It compiles fine , but when I run it I get errors like this:
httpjob._download (java... B4J Question jHttpUtils2 remove header - Erel (first post)    Oct 17, 2019 BTW, close the connection after you get the response. This makes everything simpler. You always open... B4J Question jHttpUtils2 not connecting through https - Erel (first post)    Jun 3, 2019 Works fine here. Tested with jOkHttpUtils2 library and this code:
Dim j As HttpJob
j.Initialize("", Me)
j.Download("https://api.iextrading.com/1.0/stock/market/batch?symbols=sbot&types=quote&range=1m&last=1")
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release
... Page: 1   2   3   4   5   6   7   |