If you want to dial direct phone via in your application in Xamarin Android please use this code , This code is same as Andorid native code.
Code:
var uri = Android.Net.Uri.Parse("tel:9999999999");
var callIntent = new Intent (Intent.ActionDial,uri);
StartActivity(callIntent);
For More detail prefer this URL :
https://developer.xamarin.com/recipes/android/fundamentals/intent/launch_the_phone_dialer/
Code:
var uri = Android.Net.Uri.Parse("tel:9999999999");
var callIntent = new Intent (Intent.ActionDial,uri);
StartActivity(callIntent);
For More detail prefer this URL :
https://developer.xamarin.com/recipes/android/fundamentals/intent/launch_the_phone_dialer/
Hello Dharmik ,
ReplyDeletehello the Program in Xamarin to Launch Phone Dialer in Xamarin is amazing .It's a very simple program thanks for Sharing the information about it.Xamarin Apps Development