http job

  1. N

    Android Question What is the correct way to use Http job?

    Hi, I've made an Application with B4A that connects to the server to download some information and some images. This is my code : Private Sub trylogin Dim JJ As HttpJob JJ.Initialize("", Me) 'name is empty as it is no longer needed ProgressDialogShow2("درحال برقراری ارتباط",False)...
  2. K

    Android Question Wait For with While (httpjob)

    Hello Everyone! I have a LogIn page with a LogIn button. When the button is pressed, an http job gets initialized and after that I use a wait for statement until the job is completed, like so: j.Initialize("", Me) j.PostString(link, m.As(JSON).ToCompactString)...
  3. B

    Android Question HttpJob.PostMultipart

    Would there be a possibility that in the MultipartFileData class it is possible to accept a stream of bytes instead of a file? Thanks.
  4. KMatle

    B4R Tutorial ESP32: AES256 encrypted & Base64 encoded post message to and from PHP

    Example: - AES256 encrypt a message with IV and Salt - Base64 encode it - send a http post request to a php script - decrypt in php - send back a AES256 encrypted and Base64 encoded message to the ESP32 Note: - change SSID & PW & IP-Address/foldername/scriptname - message must be padded to a...
  5. D

    Android Question HttpJob not connecting to Localhost

    I have a weird error and hope someone can point me in the right direction. I have a backend API which I am running on localhost for Dev purposes. The API works perfectly when I test it using Postman. It also used to also work perfectly when I was using B4A. Unfortunately, it just stopped...
  6. Mark Read

    B4J Question [Solved] ParseJSON not called from jobdone.

    I have been looking at this for hours and cannot see my mistake. There are two http jobs: weather and heating. After each job the resulting data is sent to the ParseJSON. The first job is weather and runs okay but not the parse sub. The second job heating runs correctly but then runs again with...
  7. K

    B4J Question Http job fails after building standalone package

    Hi All, I am fetching the current date from "" API. The http job works perfectly when the project run in b4j IDE, but when after building to standalone package, http job always fails. attached the zip project for reference and...