problem about google-maps-android-api-2-Collection of common programming errors
Himanshu
google-maps-android-api-2
I am creating an android application using google maps. here is the code:MapFragActivity.javaimport android.os.Bundle;import android.support.v4.app.FragmentActivity;import com.google.android.gms.maps.GoogleMap;import com.google.android.gms.maps.SupportMapFragment;public class MapFragActivity extends FragmentActivity {private GoogleMap map;@Overridepublic void onCreate(Bundle savedInstanceState) {super.onCreate(savedInstanceState);setContentView(R.layout.activity_map_frag);map = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap();}}AndroidManifest.xml:
Originally posted 2013-08-17 01:49:49.