B4A Question post metod & SSL security - DonManfred (first post)    
Mar 15, 2018   
(1 reaction)https://www.b4x.com/android/forum/pages/results/?query=job.poststring+okhttp...
link: https://www.b4x.com/android/forum/pages/results/?query=job.poststring+okhttp
Hello DonManfred...
B4A Library OkHttp - Replaces the Http library - Erel    
Mar 14, 2018   
(22 reactions).
The OkHttp library is based on the OkHttp SDK: http://square.github.io/okhttp/
As this is a newer SDK it supports new features such as SSL SNI, SPDY, Patch requests and better performance.
The OkHttp...+.
Attached is a modified version of HttpUtils2 library (v2.12) that is based on OkHttp instead of Http... is attached. It adds support for multipart requests.
Example:
Dim j As HttpJob
j.Initialize("j...("http://...", CreateMap("param1": "value1"), Array(fd))
OkHttp and...
B4A Question Needing okHTTP support for Android 4.x - JakeBullet70    
Jun 22, 2022Hi all.
Working on an app that will NEVER see the play store and will be open source, GITHUB style. Anyway i want it to run on Android 4.x and above.
Point being to re claim all those old Android dev...
link: include the older OkHttp / OkHttpUtils2 libraries.
You can use these libraries with newer versions of B4A....
B4J Question [Banano] Converting httpjob code from B4A - toby    
Sep 8, 2022.ToPrettyString(1) 'indent by 1 space
Dim J As HttpJob 'depends OKHttpUtils2
J.Initialize("J",Me)
J.PostString("https://mysite.com/getdetail.php" , data )
Wait For (j) JobDone(j As HttpJob)
If j.Success=False Then
j.Release
Log...
B4A Tutorial [B4X] OkHttpUtils2 with Wait For - Erel    
Dec 25, 2025   
(60 reactions) can wait for the JobDone event in the same sub that started the download.
No longer is it needed to have a single sub that handles all requests results.
Simplest example:
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
Example of downloading a quote from a quotes service:
Sub DownloadQuote
Dim j As HttpJob
j.Initialize("", Me) 'name...
B4J Library Quartz Scheduler Cron Jobs - For enterprise grade task scheduling software - Peter Simpson    
Jul 28, 2026   
(13 reactions) lightweight, embeddable job scheduler solution. Its purpose is simple, it lets your program run tasks... complicated timer routines.
Here is the essence of Quartz in plain terms.
What Quartz does
Runs jobs... expressions
Manages all recurring tasks reliably inside your application
Supports multiple jobs... database to store all jobs and schedules, and then connect the database to the Quartz Scheduler. Jobs and schedules can also be hard-coded directly into your application.
B4J library tab:
169889...
B4i Question [SOLVED] How to job.postString before app goes to background - pierrem    
Jan 25, 2015 to enable it when the jobDone is fired ...
Not sure Apple will agree on this
:)
(and not sure... when jobDone is fired ... Doesn't sound possible with iOS.
Thanks in advance for yours advices
:)...
B4A Question OKHttpUtils2 Hard Refresh? - moinamh    
Nov 15, 2022Hello Community,
Well, I was working with PHP files for a project on the server side, when I ran into a problem.
After changing the PHP file or changing MYSQL, the string received from the server as a Result is the same as the previous string and has not changed.
Due to the caching of information by browsers, this happens in Firefox and Chrome on the desktop too, but with a Hard Refresh using CTRL + F5 , new information is received from the server.
Is there such a possibility in OKHttpUtils2...
B4A Question HttpJob not connecting to Localhost - DawningTruth    
Jan 27, 2023
Dim httpJob As HttpJob
httpJob.Initialize("", Me)
httpJob.PostString(apiUrl, jsonPostValue)
httpJob.GetRequest.SetContentType("application/json")
httpJob... are the details:
FINISHED: ApiFetch -> Start Download Job
*** Service (httputils2service) Create... -> End Download Job
Error: java.net.ConnectException: Failed to connect to /127.0.0.1:2501...: ApiFetch -> End Download Job
' 28 - Non-ssl (non-https) communication is not permitted...
B4A Question Stuck in a web service - MarkusR (first post)    
Aug 13, 2018   
(1 reaction)you send post as content type json?
Job.PostString("http://www.abc/test" , data )
Job.GetRequest.SetContentType("application/json") 'need okhttp lib...
Page: 1  
2  
3  
4  
5  
6  
7