Question:
- How to get the context of the current activty
- How to get a view from resource id
Requirement:
I am working with MapLocationOverlay to display the bubble.
In order to configure the MapLocationViewer in the tutorial2.xml
<com.pocketjourney.view.MapLocationViewer
android:id="@+id/map_location_viewer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
any alternative solution. ?
//setContentView(R.layout.tutorial2); // Instead of calling the xml file
setContentView((View)new MapLocationViewer(????)); How to get the context ?


