P Pat Fahey Member Licensed User Longtime User May 31, 2017 #1 I have created a service module to intercept sms messages using examples (thank you everyone) it seems to work but how do I have the recievedsms event five an event on the activity module. I am not sure if I am phrasing this correctly and I am new, so please be gentle.
I have created a service module to intercept sms messages using examples (thank you everyone) it seems to work but how do I have the recievedsms event five an event on the activity module. I am not sure if I am phrasing this correctly and I am new, so please be gentle.
LucaMs Expert Licensed User Longtime User May 31, 2017 #2 Code: Copy ' Your service CallSubDelayed2(ActivityName, "ActivityRoutineName", AnyTypeOfData) ' Your ActivityName Activity Sub ActivityRoutineName(Data As xxx) End Sub Upvote 0
Code: Copy ' Your service CallSubDelayed2(ActivityName, "ActivityRoutineName", AnyTypeOfData) ' Your ActivityName Activity Sub ActivityRoutineName(Data As xxx) End Sub
Erel B4X founder Staff member Licensed User Longtime User May 31, 2017 #3 See this tutorial: Using CallSubDelayed to interact between activities and services Upvote 0