scsjc Well-Known Member Licensed User Longtime User Sep 9, 2016 #1 Is possible to "call a sub inside service" with this sentence ... StartServiceAt intents ??? or another way ???
Is possible to "call a sub inside service" with this sentence ... StartServiceAt intents ??? or another way ???
LucaMs Expert Licensed User Longtime User Sep 9, 2016 #2 From other modules (Activities)? CallSubDelayed(YourService, "SubName") (see also CallSubDelayed2 and CallSubDelayed3). From the service itself, just use the sub name. Upvote 0
From other modules (Activities)? CallSubDelayed(YourService, "SubName") (see also CallSubDelayed2 and CallSubDelayed3). From the service itself, just use the sub name.
scsjc Well-Known Member Licensed User Longtime User Sep 9, 2016 #3 nono.... i want a program a STARTSERVICEAT to xx minutes and i want start the service inside of a sub service....... Upvote 0
nono.... i want a program a STARTSERVICEAT to xx minutes and i want start the service inside of a sub service.......
Erel B4X founder Staff member Licensed User Longtime User Sep 11, 2016 #4 Create another service (ServiceB) and start it with StartServiceAt. Use CallSubDelayed to call the other sub from Service_Start of ServiceB. Upvote 0
Create another service (ServiceB) and start it with StartServiceAt. Use CallSubDelayed to call the other sub from Service_Start of ServiceB.