xamarin 可以很方便的编写一个电话拨号程序,下面的代码是调用android系统的拨号功能,拨号前会给出一个提示信息。
callButton是一个用来拨号的按钮,我们使用它的点击事件来进行拨号,拨号前会有一个提示框
callButton.Click += (object sender, EventArgs e) =>
{
// On Call button click, try to dial phone number. sharejs.com
var callDialog = new AlertDialog.Builder(this);
callDialog.SetMe