callsubdelayed

  1. fbritop

    Other Cancel CallSubUtils B4I/B4X

    I did some modifications, when callSubUtils was not an internal library. I wanted to use this procedure, but I had to dig out in an older project with what I modified. I did found a thread that was asking this. What I actualy did, was that callSubPlus(2), would return a timer instead of a...
  2. rleiman

    Android Question [SOLVED] - Blocked messages in queue when using CallSubDelayed

    Greetings, I made an app that plays songs based on a user set song start and ending period. That part works perfectly as long as the app is displayed on the phone screen. The app also runs quite well in the background and is not easily killed by Android because it's using the technique used in...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
Top