Phone 7 的 API 提供哪些传感器?
我知道 Windows Phone 7 有 5 个传感器:A-GPS、加速计、指南针、光、接近度和麦克风、WiFi、蓝牙、相机等。
我可以访问 GPS、加速计、麦克风和相机。但我找不到用于访问指南针、灯光、接近度、WiFi 和蓝牙原始数据的 API。
我现在需要的是经常扫描WiFi并获取附近的接入点ID。这可能吗?
谢谢。
I know that windows phone 7 has 5 sensors: A-GPS, Accelerometer, Compass, Light, Proximity and microphone, WiFi, Bluetooth, Camera, etc.
I can access GPS, Accelerometer, Microphone and Camera. But I cannot find APIs for accessing the raw data of compass, light, proximity, WiFi and Bluetooth.
What I am in need now is to scan the WiFi frequently and get the nearly-by access points IDs. Is that possible?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您还没有找到这些函数的 API,因为它们目前尚未在 SDK 中公开。
Compass 因质量略低于预期而在 CTP 之前被撤下,目前还没有暴露光线和接近度,也没有通过第 3 方 SDK 实现蓝牙。
数据可通过 Wifi 访问,并且 Wifi 有助于定位服务。但是,您目前无法访问低级别 wifi 网络数据。
You haven't found the API for these functions because they aren't exposed in the SDK at the moment.
Compass was pulled before CTP for being just slightly below quality expectations, light and proximity aren't exposed at the moment, neither is bluetooth via the 3rd Party SDK.
Data is accessible via Wifi and Wifi contributes to the Location service. However you can't access low level wifi network data at the moment.