呼吁窗户外部应用程序的手机8.1运行时(不是Silverlight的)XAML C#应用程序 [英] Call an external app on windows phone 8.1 runtime(not silverlight) xaml c# application

查看:118
本文介绍了呼吁窗户外部应用程序的手机8.1运行时(不是Silverlight的)XAML C#应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图启动一个外部应用程序发送从我的应用程序的一个参数。任何人都知道这样做的方法之一。

I'm trying launch an external app sending one parameter from my application. Anyone knows one way to do that.

谢谢!

推荐答案

例如:

await Launcher.LaunchUriAsync(new Uri("ms-settings-emailandaccounts:///"));

这去电子邮件和帐户的设置。你可以找到URI方案对其他系统应用服务在这里:<一href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207065%28v=vs.105%29.aspx#BKMK_Reservedprotocolnames"相对=nofollow>保留文件和URI协会为Windows Phone 8

This goes to "email and accounts" settings. You can find URI schemes for other system apps here: Reserved file and URI associations for Windows Phone 8

有也为WP 8.1的一些新的选项:

There are also some new options for wp 8.1:

ms-settings-workplace
ms-settings-proximity
ms-settings-nfctransactions
ms-settings-networkprofileupdate
ms-settings-notifications
ms-settings-camera
ms-settings-uicctoolkit
ms-battery
ms-wallet

您也可以的注册您的应用程序的URI关联 ,然后向它传递参数:

You can also register your app for a URI association and pass parameters to it:

await Launcher.LaunchUriAsync(new Uri("myapp:///parameters"));

这篇关于呼吁窗户外部应用程序的手机8.1运行时(不是Silverlight的)XAML C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆