www.pudn.com > Google_maps.rar > Main.java, change:2013-08-19,size:618b


package cf.google_maps; 
 
import com.google.android.gms.maps.GoogleMap; 
import com.google.android.gms.maps.*; 
import android.app.Activity; 
import android.os.Bundle; 
import android.location.Address; 
 
public class Main extends Activity  
{ 
	private MapFragment mapFragment; 
	 
    @Override 
    protected void onCreate(Bundle savedInstanceState)  
    { 
        super.onCreate(savedInstanceState); 
        setContentView(R.layout.main); 
         
        final GoogleMap googleMap; 
         
        googleMap =((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap(); 
         
    } 
}