有没有从Windows 8 Store应用(C#)启动另一个应用程序或程序可能 [英] Is there a possibility to start another App or Program from a Windows 8 Store App (C#)

查看:116
本文介绍了有没有从Windows 8 Store应用(C#)启动另一个应用程序或程序可能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的Windows Store应用启动另一个应用程序或程序。例如我的应用程序是显示电子邮件,因此,如果有人点击此类电子邮件的Outlook应该打开。这是可能在应用程序沙箱?

I want to start another App or Program from my Windows Store App. For example my App is showing emails, so if someone clicks on such an email Outlook should open. Is this possible in an "App-Sandbox"?

推荐答案

这是不可能的,只是推出一个任意应用程序,但使用自定义协议的激活可以启动处理该协议的应用程序,如果没有安装 - 的操作系统将要求用户安装它。这意味着,如果你能在你的应用程序定义一个自定义协议 - 你可以从另一个应用程序使用此协议启动它假定没有其他应用程序寄存器来处理它。这方面的一个例子是任何Xbox Live的应用程序 - 如果你检查自己的清单文件 - 他们都处理自定义协议

It is not possible to just launch an arbitrary application, but with custom protocol activation you can launch an app that handles that protocol and if it is not installed - the OS will ask the user to install it. It means that if you can define a custom protocol in your app - you can launch it from another app with this protocol assuming no other app registers to handle it. An example of that is any XBOX Live app - if you check their manifest files - they all handle custom protocols.

如果您的具体问题是关于通过名称或位置推出一个特定的应用程序,然后不,这是不可能的,但如果你知道由应用处理的协议,要启动 - 你可以尝试使用 - 只要牢记有可能是处理该协议的其他应用程序。

If your specific question is about launching a specific app by name or location then no, this is not possible, but if you know a protocol handled by the app you want to launch - you can try using that - just bear in mind that there might be other apps that handle that protocol.

这篇关于有没有从Windows 8 Store应用(C#)启动另一个应用程序或程序可能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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