Code example for SupportMapFragment

0
	@Override 
	protected void onCreate(Bundle savedInstanceState) { 
		super.onCreate(savedInstanceState); 
		//setContentView(R.layout.activity_main); 
		 
		SupportMapFragment fragment = new SupportMapFragment(); 
		getSupportFragmentManager().beginTransaction().add(android.R.id.content, fragment).commit(); 
	} 
 
 
}