【发布时间】:2011-05-15 08:31:39
【问题描述】:
我需要基于我将在数据库中搜索的位置在我的应用程序中用户的当前位置!
我现在通过使用给出的示例代码获取当前位置,但它不准确。如果没有 GPS,我会通过网络提供商获取位置,但有时会在同一位置显示 2 个位置名称。如果它在 2 分钟后 1 分钟前显示一个名称,它将更改到另一个位置。
这段代码是看不懂怎么用的。请在这方面帮助我!
What is the simplest and most robust way to get the user's current location on Android?
我需要获取位置名称。
【问题讨论】:
标签: android geolocation