[android-developers] Re: How can I frequently get the onLocationChanged()?

2009-02-25 Thread john
You need to establish a LocationListener - Example: lm = (LocationManager) trackingService.this.getSystemService (Context.LOCATION_SERVICE); ll = new MyLocationListener(); lm.removeUpdates(ll); lm.requestLocationUpdates(gps, 0, 0, ll); The two zeros determine how often to get

[android-developers] Re: How can I frequently get the onLocationChanged()?

2009-02-25 Thread Mark Murphy
john wrote: You need to establish a LocationListener - Example: lm = (LocationManager) trackingService.this.getSystemService (Context.LOCATION_SERVICE); ll = new MyLocationListener(); lm.removeUpdates(ll); lm.requestLocationUpdates(gps, 0, 0, ll); The two zeros determine how often