2017-09-21 1 views

답변

0
LocationManager locationManager = (LocationManager) getSystemService (LOCATION_SERVICE); 
LocationListener listener = new LocationListener() { }  
locationManager.requestLocationUpdates(GPS_PROVIDER, intervall , distance, listener); 

interval 매개 변수는 지정된 시간 (밀리 초) 사이에 위치 업데이트를 가져 오는 데 사용됩니다.