简体   繁体   English

从Windows Phone 7访问WiFi信息

[英]Accessing WiFi information from Windows Phone 7

I am currently trying to extract WiFi information such as signal strength and MAC address from my windows phone 7.5 for an accurate location app I am working on. 我目前正在尝试从Windows Phone 7.5提取WiFi信息,例如信号强度和MAC地址,以获取我正在使用的精确位置应用。 The OpenNETCF.Net framework has all the functionality I require (and is even described my MSDN: http://msdn.microsoft.com/en-us/library/aa446491.aspx ) however I cannot seem to be able to import the namespace into my project using visual studio. OpenNETCF.Net框架具有我需要的所有功能(甚至在我的MSDN中也进行了描述: http : //msdn.microsoft.com/zh-cn/library/aa446491.aspx ),但是我似乎无法导入命名空间使用Visual Studio进入我的项目。 It complains that the framework was not designed for windows phone projects. 它抱怨说该框架不是为Windows Phone项目设计的。 Is there any way around this? 有没有办法解决? Or does there exist and equivalent framework which would work on WP7? 还是存在适用于WP7的等效框架?

Thank you 谢谢

Windows Phone 7 is only distantly related to Windows Mobile & Windows CE (for which that library is for). Windows Phone 7仅与Windows Mobile和Windows CE(该库适用于此)有很远的关系。

There are a few how-tos for dealing with network information on MSDN , although I don't believe that WiFi signal strength is made available to apps at this point in time. 在MSDN上有一些如何处理网络信息的方法 ,尽管我不认为此时WiFi信号强度可用于应用程序。

It is worth noting that there is a specific how-to for accessing location information , where the operating system can use Wi-Fi signal information to help triangulate location, where GPS is not working. 值得注意的是,有一种访问位置信息特定方法 ,操作系统可以使用Wi-Fi信号信息来帮助三角测量位置,而GPS无法正常工作。

恐怕在Windows Phone当前版本上是不可能的

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM