Hi guys I was trying for the first time to make a google map application on android and the following are the steps i followed :-
1. I have made the application separately in 2.2 , 2.1 , 2.2 google api, 2.1 google api 2. This is the manifest file :- <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.mymap" android:versionCode="1" android:versionName="1.0"> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.INTERNET" /> <application android:icon="@drawable/icon" android:label="@string/ app_name"> <activity android:name=".mymap" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> It includes all the permissions necessary. 3. This is the java file :- package org.mymap; import android.app.Activity; import android.os.Bundle; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; public class mymap extends MapActivity { MapView mymap; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } @Override protected boolean isRouteDisplayed() { // TODO Auto-generated method stub return false; } } Even if i run this simple activity which is without any logic and just MapView in the layout file it is giving me a "Force Close" ERROR I wonder if i am using the correct API 4. main.xml :- <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <com.google.android.maps.MapView android:id="@+id/mymap" android:layout_width="fill_parent" android:layout_height="fill_parent" android:apiKey="033PkWkCKskK50UfVjdjehD71XJ55xuDOEassDQ" /> </LinearLayout> I seem to be doing everything correct but i still cant see the Map :( Please guide -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

