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)...
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:
- 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
- change SSID & PW & IP-Address/foldername/scriptname
- message must be padded to a...
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...
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...
I am fetching the current date from "https://www.timeapi.io/api/Time/current/zone?timeZone=Asia/Kolkata" 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...