1

i can't switch fragments of googlemap fragment and other is just a listview

view story
linux-howto

http://stackoverflow.com – I'm trying the following code.I could not switch appropriately the fragments.By clicking on menuitem i replace the fragment.For the first time when i add the googlemap it is show right but when i want to click again to view map.The map is not shown.Kindly help me out: Here i add the default fragment google map: @Override public void onCreate(Bundle savedinstancestate) { super.onCreate(savedinstancestate); setContentView(R.layout.stores); Fragment map = new MapView(); getFragmentManager().beginTransaction().add(R.id.fragment_container, map).addToBackStack(null (HowTos)