B4A Class [B4X] CallSubPlus - CallSub with explicit delay - Erel Nov 30, 2015 (26 reactions) Notes
- Make sure to include an underscore in the target subs names if you intend to compile with obfuscation.
- CallSubDelayed will start the target service or activity if needed (see this tutorial for more information: https://www.b4x.-callsubdelayed-to-interact-between-activities-and-services.18 B4A Question Getting device phone number in Starter service. - toby (first post) Jun 18, 2020 (1 reaction) My Solution: CallSubDelayed(Starter, "Activity_Create_Complete") Wait For Activity_Create_Complete Log(strCell) B4A Question Question abaut CallSubDelay - Erel (first post) Mar 14, 2021 (1 reaction) 1. The method name is CallSubDelayed.
2. No. B4XPages is explained here: https://www.b4x.com/search?query=B4XPages
3.
You should post the relevant code and error message. As I said, you don't need to do anything special. B4A Question I want to make a simple alarm clock using service? - teddybear (first post) Nov 10, 2024 The method is CallSubDelayed(main,"Service_ShowTimer") 158477 B4A Question Only the original thread that created a view hierarchy can touch its views. - agraham (first post) Oct 21, 2024 Yes, CallSubDelayed runs the Sub on the main thread, not the calling thread. You could do the same with OPenGL2.RunOnGuiThread. Italian CallSubDelayed: utilità? - Star-Dust (first post) Jan 28, 2022 (1 reaction) Chiama quando tutte le operazioni in coda sono complete, non solo quelle dell'applicazione. Ad esmpio il Refresh delle viste (UI) da parte del sistema operativo, funzioni in attesa.
Questo è usato quando ti accorgi che una CallSub non viene eseguita e i log ti segnala che è stata soppressa.
Th B4A Question get data from different module - Erel (first post) Oct 04, 2017 (1 reaction) Check this tutorial: Using CallSubDelayed to interact between activities and services Spanish [SOLUCIONADO] Sub en un Service - dar2o3 (first post) Jun 22, 2016 CallSubDelayed(nombredelservicio, "nombresub") B4J Question How to define a global (non-session) variable in jRDC2 server - OliverA (first post) Jun 28, 2018 (1 reaction) FYI, you can use CallSubDelayed to queue access to variables/sub routines of the Main thread (or any thread). This would resolve the issue(s) of simultaneous access of variables/subroutines. B4A Question How to access code in B4XMainPage from the Starter service? - LucaMs (first post) Jul 10, 2023 CallSubDelayed(B4XPages.GetManager.MainPage, "SubName") (It is always better to write the source that accesses the database in a class or code module). Page: 1 2 3 4 5 6 7 Powered by ColBERT |