我目前正在开发UWP应用程序,我想从我的UWP应用程序中打开默认的microsoft天气应用程序,实际上我尝试了下面的代码来打开天气应用程序
<HyperlinkButton Grid.Row="7"
Margin="0,10,0,0" NavigateUri="ms-windows-store://pdp/?PFN=Microsoft.BingWeather_8wekyb3d8bbwe"
FontSize="14"
HorizontalAlignment="Center" />但是它首先打开商店,然后在商店里打开天气应用程序,因为我使用的是ms-windows商店:但是我想直接从我的应用程序打开天气应用程序。有可能吗。
谢谢和问候,克里斯蒂娜。
发布于 2017-06-20 11:22:40
您可以使用以下深度链接直接打开天气应用程序:
msnweather:您必须将代码更改为:
<HyperlinkButton Grid.Row="7"
Margin="0,10,0,0" NavigateUri="msnweather:"
FontSize="14"
HorizontalAlignment="Center" />https://stackoverflow.com/questions/44650015
复制相似问题