2012-01-04 67 views
0

如何每10分鐘和每200米獲得一次GPS定位?如何根據時間和距離獲得GPS定位?

lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); 
    lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 60000, 200f, (LocationListener) this); 

上面的代碼不起作用。

回答