Search code examples
c#windowsc#-4.0windows-phone-8

Can I directly place the call without showing that confirmation on my windows phone 8 app - (Call or Don't Call)?


This is my code snippet:

public MainPage()
    {
        InitializeComponent();
        PhoneCallTask task = new PhoneCallTask();
        task.PhoneNumber = "0800000000000";
        task.DisplayName = "mum";
        task.Show();

    }

and then I get this:

Dial mum at 080000000000000?
call   don't call

How can I make the phone call directly?


Solution

  • No you can't do that. It's done this way for security reasons!