1

在 IOS 平台上,可以为浏览器提供指向设备上应用程序的链接,以便跟随该链接导致应用程序启动并处理请求。例如:

 pownce://foo/etc

编写 WinRT 应用程序是否有类似的方法?这对于处理大量使用浏览器重定向来在各方之间传递信息的联合身份和身份验证流程非常重要。

4

1 回答 1

2

Yes, Windows Store apps can be set up to handle protocol activation, which is described in the app manifest. (This will set up the necessary registry entries at installation time--you can't do that manually for an app distributed via the Windows Store.) It basically allows for the same thing: define your own URI scheme and register an app as a handler for that scheme.

请参阅如何处理协议激活 (HTML/JS)C#/VB/XAML 的等效主题

于 2012-11-08T20:54:01.107 回答