我已经使用了下面的代码。它工作正常,但在某些设备,如Redme,华硕没有得到准确的位置。它显示我离我目前的位置距离20公里远。apotx没有得到问题的人有什么想法,请分享想法。提前感谢。 public class Currentlocation extends Service implements LocationListener {
private final Context mContex
我正在做一个应用程序发送经纬度的坐标,所以我扩展了一个服务并实现了LocationManager。 这是我的代码部分: public class LocationServiceTracking extends Service implements LocationListener{
....
@Override
public void onCreate() {