com.TwentyCodes.android.location
Class LocationReceiver
java.lang.Object
BroadcastReceiver
com.TwentyCodes.android.location.LocationReceiver
public abstract class LocationReceiver
- extends BroadcastReceiver
this abstract class will be used as a template for classes wishing to receiver location updates from the skyhook location service
- Author:
- ricky barrette
|
Method Summary |
abstract void |
onLocationUpdate(Location location)
called when a location update is received |
void |
onReceive(Context context,
Intent intent)
(non-Javadoc) |
ACTION_UPDATE
public static final String ACTION_UPDATE
- See Also:
- Constant Field Values
LOCATION_PARCEL
public static final String LOCATION_PARCEL
- See Also:
- Constant Field Values
mContext
public Context mContext
LocationReceiver
public LocationReceiver()
onReceive
public void onReceive(Context context,
Intent intent)
- (non-Javadoc)
- Parameters:
contextonBind - intent - - See Also:
BroadcastReceiver
onLocationUpdate
public abstract void onLocationUpdate(Location location)
- called when a location update is received
- Parameters:
parcelableExtra -