waitfor

  1. Y

    B4J Question [ABMaterial][Supabase] Can we use them both?

    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...
  2. G

    Bug? [B4A] Instructions following Wait For are not executed when Sleep() has been called in same Sub

    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...
  3. erol34

    B4J Tutorial Office Scanner tutorial

    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...
  4. h.drose

    Spanish Uso del Wait for

    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.
  5. J

    Android Question HttpJob and Sending Message to waiting Queue ...

    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") '...
  6. Drops

    Android Question (Wait For) wait only x second , if no response exit.

    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)
  7. H

    B4J Question Sleep and WaitFor With Webview

    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.
  8. Didier9

    B4J Question Need help with WaitFor [solved]

    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...
  9. L

    B4J Question Using Wait For for 2 different events

    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 ( ...)...
  10. F

    Android Question Problem with WaitFor - Object context is paused (HttpJob)

    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...
Top