package xx.xx.xx
public class Mappingactivity extends MapActivity{
}
public class Listactivity extends ListActivity{
}
how to call the Listactivity inside Mappingactivity? coz im trying to get the map view and the list view on the same activity. or else is there any other way?
thank you
you just add
ListViewandMapViewin layout file.andextends MapActivity.Create object of ListView.and setAdapter to it.Its not compulsory if you want to show listview then must extend ListActivity.See here