I am using fragments in my application and I am new for this. There is a fragment in which I want to display Google Map and want to get its object, for this I have a fragment in
Try this
GoogleMap map = ((SupportMapFragment) getFragmentManager() .findFragmentById(R.id.map)).getMap();
and in your xml