Hello team,
Last month i created a webapp using both of them. Everything working fine in debug and release mode in my pc (localhost:8081). When i upload at my ubuntu VPS, i encounter many errors. Here is a sample code that i use to store personal data to Supabase:
Sub btnSave_Clicked(Target As...
Summary:
In a B4A class, I need a Sub to execute, among other instructions, Sleep() and then a Wait For (a long task), but subsequent lines of code are never executed; removing the Sleep() is not an option (doing so, instructions are executed as expected).
Reproduction Steps:
Install and...
Hi friends,
I wrote a B4J program and a comprehensive tutorial in my blog page. It shows who is online in local network by names of persons. It scans 254 ip numbers in less than one minute.. You can see the complete source code and steps to follow for beginners, including installation and...
Hola, alguien que pueda explicar como funciona el wait for,
Como puedo hacer para que el wait for me valide si un proceso (Sub) ya fue ejecutado por completo,
Se les agradece de antemano.
Hello,
We have a problem with the HttpJob:
The JobDone never runs, and the log contains the following message:
"sending message to waiting queue of uninitialized activity (submitjob)"
my code :
Dim job As HttpJob
job.Initialize("", Me)
job.Download("https://www.google.com")
'...
Hello, I need help with my problem. I can use (waitfor) to udp packet received, if packet no received for ex.10 second then close (waitfor) and continue program.
Wait For EventName_PacketArrived (Packet As UDPPacket)
i want use "WaitFor" without stopping WebView.
When i use "WaitFor" my WebView flashplayer and movable objects(Animations/Gif's) goes pausing.
I do not want "WaitFor" to interfere in WebView's work.
I have not had much success using WaitFor
At the moment, I want to use it to trap either one of two boolean flags after I send a command via AStream.
One flag is set when I received a message via AStream_NewData the other is set in a TimeOutTimer_Tick event if the command times out.
So I would...
I need to trap both HTTP POST 'success' and 'error' conditions within a single sub...
I'm currently using OkHttp to POST API calls to a service and I have 2 Wait For statements as follows:
Wait For postRequest_ResponseError ( ....)
(some code)
Wait For postRequest_ResponseSuccess ( ...)...
Hello,
I'm trying to interrogate a webservice using HttpJob with the code below, but it keeps displaying this message "Object context is paused. Ignoring CallSubDelayed: JobDone".
I have another function in this class which does basically the same thing and it works fine.
What am I missing...