I want to make a call without to use the Phone library, because of the permission.
I use this code:
but in display to dial shows "Telefone: 37778888" and when I click in Dial button call the number "8353366337778888"
If I use this code:
i.Initialize("android.intent.action.DIAL", "tel:3777888")
dial to the correct number, but if I use the number of the Label text don't.
How I can fix it?
Thanks in advance.
I use this code:
B4X:
Dim i As Intent
i.Initialize("android.intent.action.DIAL", "tel:" & TelefoneLabel.Text) 'TelefoneLabel.Text=37778888
StartActivity(i)
but in display to dial shows "Telefone: 37778888" and when I click in Dial button call the number "8353366337778888"
If I use this code:
i.Initialize("android.intent.action.DIAL", "tel:3777888")
dial to the correct number, but if I use the number of the Label text don't.
How I can fix it?
Thanks in advance.