Vinny
Vinny

Reputation: 865

Detect windows phone call click

I have tried giving dialUp dial Up

This works fine in android phones but doesnot work in Windows.

Any work around for this. I tried onclick. Even That doesnt work

Upvotes: 0

Views: 29

Answers (1)

Alper Cem Polat
Alper Cem Polat

Reputation: 154

There is no embedded "Call Button" in Windows Phones. If you mean to trigger Phone Call task, which will call a number/person, here's how:

PhoneCallTask phoneCallTask = new PhoneCallTask();

phoneCallTask.PhoneNumber = "123456789";
phoneCallTask.DisplayName = "TestNumber";

phoneCallTask.Show();

Upvotes: 1

Related Questions