Greetings,
I'm experimenting with the phone library and noticed that the IncomingNumber string is empty when a call comes in. Is this happening because the phone provider is not sending that information preventing PhoneStateChanged from seeing the phone number?
Here's the coding I used to test it.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Truly,
Emad
			
			I'm experimenting with the phone library and noticed that the IncomingNumber string is empty when a call comes in. Is this happening because the phone provider is not sending that information preventing PhoneStateChanged from seeing the phone number?
Here's the coding I used to test it.
			
				B4X:
			
		
		
		Sub PE_PhoneStateChanged (State As String, IncomingNumber As String, Intent As Intent)
        Log("Phone state: " & State)
       
        If State = "RINGING" Then
            Log("The incoming number is: " & IncomingNumber)
        Else
        End If
End Sub
	Truly,
Emad