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 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. 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 Showkeyboard changes edittext size between portrait and landscape layouts. - Roger Daley (first post) Feb 09, 2020 (1 reaction) Thanks Erel,
The callsubdelayed is an old timing issue, I have replaced that with a sleep(250) before kb.ShowKeyboard(Rdisplay). It was only a couple of instances that this was a problem but I used the sleep function in all cases just to be cautious.
I tried calling it just once after Load Layout Spanish [SOLUCIONADO] Sub en un Service - dar2o3 (first post) Jun 22, 2016 CallSubDelayed(nombredelservicio, "nombresub") B4A Question I would like the user to set a time in my app to receive a notification. - Andrew (Digitwell) (first post) Dec 08, 2021 use Callsubdelayed to call a sub in the service to set the hours. https://www.b4x./?query=callsubdelayed 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 Page: 1 2 3 4 5 6 7 Powered by ColBERT |