WalkEditService

public class WalkEditService extends Service implements LocationListener, GpsStatus.Listener

Service to gather position data during walking

Fields

ACTION_START

public static final String ACTION_START

ACTION_STOP

public static final String ACTION_STOP

EXTRA_HEADER

public static final String EXTRA_HEADER

TEMP_PREFERENCES

public static final String TEMP_PREFERENCES

WALKEDIT_CHANGE

public static final String WALKEDIT_CHANGE

mGeometry

protected GeoGeometry mGeometry

mLayerId

protected int mLayerId

mShowNotification

protected boolean mShowNotification

mTargetActivity

protected String mTargetActivity

mTargetExtras

protected Bundle mTargetExtras

Methods

isServiceRunning

public static boolean isServiceRunning(Context context)

onBind

public IBinder onBind(Intent intent)

onCreate

public void onCreate()

onDestroy

public void onDestroy()

onGpsStatusChanged

public void onGpsStatusChanged(int event)

onLocationChanged

public void onLocationChanged(Location location)

onProviderDisabled

public void onProviderDisabled(String provider)

onProviderEnabled

public void onProviderEnabled(String provider)

onStartCommand

public int onStartCommand(Intent intent, int flags, int startId)

onStatusChanged

public void onStatusChanged(String provider, int status, Bundle extras)