在 Windows Phone 7 上有没有办法获取 GPS 信号的当前强度?
我目前正在使用 GeoColuteWatcher,它抽象出用于检索位置和速度的信息,它提供了状态(禁用/就绪/无数据/初始化),但仅此而已。
我见过一些应用程序(例如 RunKeeper)具有 GPS 信号强度指示器,但我不确定这是否准确,或者是否是根据 GeoCord 的 HorizontalAccuracy 属性计算出来的
注意:我已阅读此链接: 如何在 Windows Mobile 中读取 GPS 信号强度?
但这是针对 WP6.5 的,我认为对 WP7 没有帮助。
I'm currently using the GeoCordinateWatcher which abstracts away the information used to retrieve the position and speed it provides a status (disabled/ready/nodata/initializing) but that's all.
I've seen a few apps such as RunKeeper that have a GPS signal strength indicator but I wasn't sure whether that was accurate or whether it was calculated based on the HorizontalAccuracy property of the GeoCordinate
NOTE: I have read this link:
How to read GPS signal strength in Windows Mobile?
But this is dealing with WP6.5 and I don't think helps on WP7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从经验来看(作为 RunKeeper Windows Phone 应用程序的开发者),您无法直接访问 GPS 信号强度,但您可以使用 HorizontalAccuracy 来显示相对强度指示器。
我使用 Rx Extensions 在 GeoCoordinateWatcher 上提供可观察的位置流,然后在此基础上创建可观察的精度流,以便我可以订阅与位置更改分开的精度更改(而不必检查和更新每个位置)。
Speaking from experience (as the developer of the RunKeeper Windows Phone app), you can't access the GPS signal strength directly, but you can use the HorizontalAccuracy to display a relative strength indicator.
I use Rx Extensions to provide an observable position stream on the GeoCoordinateWatcher, then create an observable accuracy stream on top of that, so that I can subscribe to accuracy changes separate from position changes (rather than having to check and update on every position).