Windows Phone 是否保留手机信号塔或所见 WiFi 的日志?我可以访问它吗?
随着所有关于 iPhone 和 Android 设备存储手机信号塔和/或 WiFi 日志的新闻,我的脑海中突然浮现出一个想法。我真正需要的是枚举可用的 WLAN 以提供某种位置感知 - 但这现在似乎不可能(请参阅这个问题关于该主题)。
现在,如果 Windows Phone 上有这样的日志,并且有一个 API 来访问它,我就可以从日志文件中读取这些数据。应该适合我的目的。
有人知道更多有关 Windows Phone 日志内容以及是否可以访问这些日志的信息吗?
With all the news out there about iPhones and Android devices storing logs of cell towers and/or WiFis an idea popped into my mind. What I really need is to enumerate available WLANs to provide some kind of location awareness - but this seems impossible right now (see this question on the topic).
Now if there was such a log on the Windows Phone and an API to access it I could just read this data from the log file. Should be ok for my purposes.
Does somebody know more about what the Windows Phone logs and if one can access these logs?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用标准 Windows Phone SDK,您无法访问任何日志或系统文件,但可以访问 位置服务 API:
如果您使用非公共 API,您可能能够找到未记录的功能或日志文件,但您的应用程序将无法在 Marketplace 中发布,只能作为自制应用程序发布。
Microsoft 表示他们不会保留 您在手机上的位置历史记录。虽然您可能能够找到针对您正在寻找的内容的黑客攻击,但它很可能是特定于设备的,并且您将严格限制哪些用户可以安装您的应用程序(仅限开发解锁手机)。您最好的选择是尝试找到一种使用定位服务来满足您的需求的方法。
Using the standard Windows Phone SDK you cannot access any of the logs or system files but you do have access to the Location service APIs:
If you use non-public APIs you may be able to find un-documented features or log files, but your app would not be able to be published in the Marketplace and could only be released as a homebrew app.
Microsoft has stated that they do not keep a history of your location on the phone. While you may be able to find a hack for what you are looking for it most likely would be device specific and you would severely limit which users could install your app (dev unlocked phones only). Your best bet is to try and find a way to use the Location Service to meet your needs.