1. A

    Android Question Wait For with OkHTTPUtils2 and CallSubDelayed

    Hi, I have a question. I created a small project (see the attachment) where I tried to learn how to work with a subject. I created a class where I put all the logic -the main procedure in this class calls a private sub that sends request to the server Sub Class_Globals Public FacilityID...
  2. avalle

    B4J Question How to call CallSubDelayed from a different Class Module

    Hi all, I have a B4J Server application implementing a REST API service with multiple Handler Class Modules. In one of these class modules I need to use CallSubDelayed to raise a callback event which is used in a Wait For in a different class module. Is this possible? If so, how do I reference...
  3. LucaMs

    Wish Unlimited number of arguments when using CallSub/CallSubDelayed

    I hope to explain the problem well enough by exposing a concrete example that happened to me just yesterday. I have a routine in an Activity that receives two parameters. When I invoke it from within the Activity itself, I simply use: RoutineName(Param1, Param2). I also called it from a...
  4. C

    Android Question Invoking multiple activities back-to-back w/o an event

    Newbie question. I modified the Two Activities example to see if I could learn how to call multiple activities without an event. I copied Activity2, modified it slightly and named it Activity3. I was able to call multiple activities by using the click event of multiple buttons. But how do you...
  5. LucaMs

    Android Question CallSubDelayed to open an Activity

    I was convinced that by calling from a service a routine of an Activity currently not in Foreground, this Activity would be open. This happen-works only when a different Activity of the app is in Foreground (the app itself is in Foreground); if the app is paused, the call is added to a queue...
  6. Jeffrey Cameron

    Bug? CallsubDelayed in compiled library generating error

    This started happening after I upgraded to v7.80, and was working fine in my last version. When including a compiled B4A library (Project, compile to library) I am getting a java.lang.ClassCastException in the compiled library. This same library works fine when ran in the test program I create...