Android Question Open Dialer With a specific number in place

abdo.b4a

Member
Dear Erel
I use this code to call a number :

Dim i As Intent
i.Initialize(i.ACTION_VIEW, "tel:")
StartActivity(i)


This code just opens dialer
I just want to open the dialer with a specific number in place .

Many Thanks
 

JohnC

Expert
Licensed User
Longtime User
Try inserting the phone number right after the tel: like "tel:5551234567"
 
Upvote 0

JohnC

Expert
Licensed User
Longtime User
Another way to dial the number with permission requests:

 
Upvote 0
Top