Code example for TabActivity

Methods: getTabHost

1
		highlightOverlay.doHighlight((int) stop.getLatitude(),
				(int) stop.getLongitude(), mapView);
 
		// Switch to this tab 
		TabActivity t = (TabActivity) getParent();
		t.getTabHost().setCurrentTab(0);
 
		mapView.invalidate();
 
	} 
 
	class MapViewIntentReceiver extends BroadcastReceiver {
 
		@Override 
		public void onReceive(Context context, Intent intent) {
 
			if (intent.getAction().equals(MapHighlightOverlay.HIGHLIGHT_INTENT)) {
 
				Log.i("HighlightIntentReceiver", "Got highlight message!");
				BusStop stop = (BusStop) intent