locked
Launcher not working in simulator RRS feed

  • Question

  • Hi all,

    the following code opens a launcher to mail certain content

    var mailto = new Uri("mailto:?subject=test&body=test");
                await Windows.System.Launcher.LaunchUriAsync(mailto);

    This is working fine in PC and in tablet. But not working in "simulator" while running in Visual studio. Its working in "local machine"

    Can anyone help me why this is not working in simulator? Same thing happens with share charm(People charm)

    Tuesday, June 11, 2013 12:19 PM

Answers

  • I just opened http://www.w3schools.com/html/tryit.asp?filename=tryhtml_mailto in modern IE and clicked on link, that works for me. I also tried your code, even that works for me in Simulator.

    What error do you get?

    This could be because of some other  issue in your app. 

    Make sure that all latest OS updates and for Visual Studio you have Update 2 installed. You may try to restart your machine.


    -- Vishal Kaushik --

    Please 'Mark as Answer' if my post answers your question and 'Vote as Helpful' if it helps you.

    Happy Coding!!!

    Tuesday, June 11, 2013 1:00 PM