- Back to Home »
- Windows Phone apps »
- Windows phone c# code to Call and Message from windows phone
Posted by :
Sudhir Chekuri
Saturday, 14 December 2013
C# code for sending message:
SmsComposeTask smsComposeTask = new SmsComposeTask();
smsComposeTask.To = "6786543672"; // phone number to whom the sms is to be sent
smsComposeTask.Show(); // this will invoke the native sms edtior
C# code to make a call:
phoneCallTask.PhoneNumber = "6786543672";
phoneCallTask.DisplayName = "Name";
phoneCallTask.Show();