B4X:
Sub PE_PhoneStateChanged (State As String, IncomingNumber As String, Intent As Intent)
If State = "RINGING" Then
Log("PhoneStateChanged, State = " & State & ", IncomingNumber = " & IncomingNumber)
End If
End Sub
I have the permissions and service set up, so PE_PhoneStateChanged does get called. But the IncomingNumber is missing
Log result:
PhoneStateChanged, State = RINGING, IncomingNumber =
How do I get the number?