积极答复者
Win8 metro 中如何从一个应用程序启动另一个第三方应用程序?

问题
答案
-
Hi,
并不能有直接启动的方法,不过可以通过LaunchUriAsync()或者LaunchFileAsync()通过Uri或者文件来启动相应的默认程序。参考:
http://msdn.microsoft.com/en-us/library/windows/apps/hh452690.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/hh452687.aspx
Sample:
http://code.msdn.microsoft.com/windowsapps/Association-Launching-535d2cec
Aaron Xue [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Trent1985 2012年11月7日 0:36
-
通过URI打开App的方式是通过打开协议的默认程序来打开程序的,不能够直接打开app
Aaron Xue [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Trent1985 2012年11月7日 0:36
全部回复
-
Hi,
并不能有直接启动的方法,不过可以通过LaunchUriAsync()或者LaunchFileAsync()通过Uri或者文件来启动相应的默认程序。参考:
http://msdn.microsoft.com/en-us/library/windows/apps/hh452690.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/hh452687.aspx
Sample:
http://code.msdn.microsoft.com/windowsapps/Association-Launching-535d2cec
Aaron Xue [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Trent1985 2012年11月7日 0:36
-
通过URI打开App的方式是通过打开协议的默认程序来打开程序的,不能够直接打开app
Aaron Xue [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- 已标记为答案 Trent1985 2012年11月7日 0:36