@Override public void onReceive(Context context, Intent intent) { Location location = (Location) intent.getExtras().get(LocationClient.KEY_LOCATION_CHANGED); if (location != null) { // Log.d(Constants.TRAILBOOK_TAG, "TrailBookLocationReceiver: New Location received:" + // location); mBus.post(new LocationChangedEvent(location)); LocationProcessor processor = TrailBookState.getLocationProcessor(); if (processor != null) processor.process(location); } }