1

iOS 有一个CaptiveNetwork编程接口,该接口CNSetSupportedSSIDs允许应用程序注册特定的 SSID,以便当设备与其中一个 SSSID 关联并且存在强制门户时,调用应用程序而不是默认的 Web 表。然后,当用户通过 Wi-Fi 网络进行身份验证时,应用程序有责任通知操作系统。

Windows 手机具有相同的行为:当手机关联到强制网络时,也会打开一个网页表。

是否有适用于 Windows Phone 的等效方法,让应用程序将自己注册为负责管理特定 SSID 的强制门户,以便在检测到强制门户时打开应用程序?

4

1 回答 1

0

First answer would be - no, you can't bind to a specific SSID from within the system itself (to launch the app, that is).

However, since a captive network most of the time redirects you to a specific URL, you could experiment launching apps via the associated app URI scheme. This will require that whatever network you're going to be managing actually has the capability to fetch an app URI instead of just the auth page.

于 2014-04-16T21:17:18.320 回答