This post shows very trivial code which programmatically initiate the phone by using of cheapest network provider called Fake GSM Network. :)
Calling is a Task related action, which requires two assemblies to be referenced:
Microsoft.Phone
Microsoft.Phone.Tasks
Here is the self-explaining sample code:
PhoneCallTask phoneTask = new PhoneCallTask();
phoneTask.PhoneNumber = "+38 7 174 9699";
phoneTask.DisplayName = "Fata Merkel";
phoneTask.Show();
Here is the result:
Posted
Jun 06 2010, 12:54 AM
by
Damir Dobric