我已經使用了下面的代碼。它工作正常,但在某些設備,如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() {