How to launch Microsoft default Calendar & Calculator with selected date / calculation from UWP ?

Abu Raihan 21 Reputation points
2020-08-20T11:59:44.617+00:00

I need to launch Microsoft default app Calendar(outlookcal:) with selected date ( ex. 01/01/2020) and Calculator(ms-calculator:) with expression/calculation (2*3=) from UWP. I am using Windows.System.Launcher.LaunchUriAsync(new Uri()) for app launch from *.cs.

For Bing maps with location I was using "bingmaps:?where=location" as protocol uri & Bing maps is opened in the location set by me. I was looking for something like this for Calendar & Calculator app. Is there anything for Calendar & Calculator?

Can someone please help me?

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Richard Zhang-MSFT 6,936 Reputation points
    2020-08-21T01:12:52.813+00:00

    Hello,

    Welcome to Microsoft Q&A.

    Currently, neither the calendar nor the calculator app disclose how to call its Uri schema. So currently you cannot specify the startup method and initialization behavior of the application through Uri.

    Thanks.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Jennifer Lobo 0 Reputation points
    2024-06-11T21:41:02.1666667+00:00

    While there aren't official URI schemes for launching the Calendar and Calculator apps with specific data in UWP, here's the current landscape:

    Calendar:

    • A custom URI like calendar:viewdate?date=2024-06-13 (today's date) might work in the future, but it's not officially supported.
      • Consider system file associations (launching a temporary file with the desired date information) for a more reliable approach.

    Calculator:

    • No direct URI scheme exists yet.
    0 comments No comments