2017-07-31 47 views
0

要启动其他特定应用我们可以设置其他应用程序的包姓:LaunchUri与发射器选项始终无法在Windows 10移动

var options = new LauncherOptions(); 
options.TargetApplicationPackageFamilyName = packageFamilyName; 

Uri uri = new Uri(protocol); 
var succeeded = await Windows.System.Launcher.LaunchUriAsync(uri, options); 

如果未安装其他应用程序,打开商店下载页面。但是这只发生在Windows 10桌面上,在手机上没有任何反应,它只是失败。

但是,如果我们删除options参数,它将搜索Store上的任何应用程序。

await Windows.System.Launcher.LaunchUriAsync(uri); 

是否有移动设备上的桌面行为吗?我的意思是准确地打开一个特定的应用程序,而不是任何注册该协议的应用程序

回答

1

The documentation声明此仅适用于此时的桌面。该功能可能会在未来使它成为移动(以及其他Windows版本)。

+0

谢谢彼得..是否有任何类型进行中的新味道? – Blendester