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
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
2 matches
Mail list logo