- public void onLocationChanged(Location location) {
- handler.obtainMessage(TelemetryService.MSG_LOCATION, location).sendToTarget();
- }
-
- public void onStatusChanged(String provider, int status, Bundle extras) {
- }
-
- public void onProviderEnabled(String provider) {
- }
-
- public void onProviderDisabled(String provider) {
- }
-
- public AltosLocationListener(Handler handler) {
- this.handler = handler;
- }
-}
-
-public class TelemetryService extends Service {