WebQuest Active Member Licensed User Longtime User Feb 22, 2019 #1 Hi I'm finishing my app, and I find it difficult to find the method for or event that occurs after a device call. I know you have to use PhoneEvent but I do not know what event and method I should use. Specifically I have to execute a command after the call ends. Can someone help me?
Hi I'm finishing my app, and I find it difficult to find the method for or event that occurs after a device call. I know you have to use PhoneEvent but I do not know what event and method I should use. Specifically I have to execute a command after the call ends. Can someone help me?
Geezer Active Member Licensed User Longtime User Feb 22, 2019 #2 Code: Copy Sub phone_PhoneStateChanged (State As String, IncomingNumber As String, Intent As Intent) End Sub The State will be IDLE when the call ends Upvote 0
Code: Copy Sub phone_PhoneStateChanged (State As String, IncomingNumber As String, Intent As Intent) End Sub The State will be IDLE when the call ends
WebQuest Active Member Licensed User Longtime User Feb 22, 2019 #3 Thanks for the answer but it is not clear to me how to execute an if with the IDLE state. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 22, 2019 #4 You need to put this code in a foreground service. Upvote 0