1. 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...
  2. R

    Android Question B4XPages and ResumableSub

    Just starting with B4XPages and noticed that ResumableSub is not behaving the same as in a non B4XPages project. In an activity based project I can run this from Main with no problem: Dim rs As ResumableSub = CSV2List(File.DirRootExternal & "/PhonePats", "menu_props2.csv", True, 44, 34...
  3. carlos7000

    Android Question Resumable Sub

    Because when I write functions, some become Resumables and others do not? Sometimes when I write a simple function, I notice with surprise that a message appears indicating that a Resumable sub can only return a ResumableSub value or nothing. How did a simple function become a resumable sub?
  4. R

    Android Question Real-time log messages

    Trying to add real-time log messages to my app, so I can investigate problems if not a the PC. The running code should pause while the message is showing and this is not as easy as I thought it would be. Currently I am trying this: In a code module (called General) I have this: Public Sub...