【问题标题】:How to get accuracy on location using GPS in android?如何在android中使用GPS获得位置准确性?
【发布时间】:2013-01-16 08:43:42
【问题描述】:

我在使用 GPS 获取位置方面完全是新手。

所以我使用了这个链接作为参考。

https://stackoverflow.com/a/3145655/1395259

这非常适合提供经纬度位置。但如果我使用 location.getAccuracy() 检查准确性。它的输出超过500米

我想要 50 或 100 米以下位置的准确度。

谁能告诉我如何获得上述距离的准确性。

这个帮助对我来说会更有用,我一定会感谢它。

谢谢

【问题讨论】:

  • if (location.getAccuracy() > 1000 && location.hasAccuracy()) locationManager.removeUpdates(this); devdiscoveries.wordpress.com/2010/02/04/…查看更多
  • 也可以使用requestLocationUpdate方法
  • @altaf 提供的链接似乎更好。让我尝试实现这一点。
  • @altaf 我无法完成它。你能在回答线程中详细说明吗??
  • 请大家帮帮我

标签: android gps location


【解决方案1】:

您需要填写 Places API Application Form 才能访问 Google Places API。此应用程序将由 Google 验证,他们将为您提供必要的访问权限。

可以在此处找到有关 Places API 的更多信息:

http://code.google.com/apis/maps/documentation/places/

有一个很好解释的答案here

希望这会有所帮助:)

【讨论】:

    猜你喜欢
    • 2021-06-10
    • 2013-09-06
    • 2016-02-18
    • 2013-06-24
    • 1970-01-01
    • 2016-04-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多