Android Question Event after the call.

WebQuest

Active Member
Licensed User
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
B4X:
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
Thanks for the answer but it is not clear to me how to execute an if with the IDLE state.
 
Top