how to launch native map application in winRT xaml

2019-07-03 17:36发布

问题:

what i want is to launch native map application on button click in my winRT application using C# and XAML. Is it possible?

回答1:

Protocol activation is the key, LaunchURIAsync is the API.

Take a look at the Association Launching sample for code, and for maps in particular here is the URI Scheme that shows how you can launch the app into various different modes and experiences.