title: Map activity crashes on invoking it!
body: <p>My Map activity crashes on launch. I have included all the permission and also tested on a new standalone map project where it worked perfectly well with the underlying code.</p>
  
  <p>Rather when I incorporate the same code in my application, it crashes as soon as this activity is invoked. I have a project submission tomorrow morning, so please reply asap</p>
  
  <p>My map activity is as follows</p>
  
  <pre><code>            package com.healthcare.iFind;
  
              import com.google.android.maps.MapActivity;
              import com.google.android.maps.MapView;
              import com.google.android.maps.MapView.LayoutParams;
  
              import android.os.Bundle;
              import android.view.View;
              import android.widget.LinearLayout;
  
              public class MapsActivity extends MapActivity
              {
              MapView mapView;
  
              /** Called when the activity is first created. */
              @Override
              public void onCreate(Bundle savedInstanceState)
              {
              super.onCreate(savedInstanceState);
              setContentView(R.layout.maps);
  
  
              mapView = (MapView) findViewById(R.id.mapView);
              LinearLayout zoomLayout = (LinearLayout)findViewById(R.id.zoom);
              View zoomView = mapView.getZoomControls();
  
              zoomLayout.addView(zoomView,
              new LinearLayout.LayoutParams(
              LayoutParams.WRAP_CONTENT,
              LayoutParams.WRAP_CONTENT));
              mapView.displayZoomControls(true);
  
              }
  
              @Override
              protected boolean isRouteDisplayed() {
              // TODO Auto-generated method stub
              return false;
              }
              }
  </code></pre>
  
  <p>My AndroidManifest.xml file:</p>
  
  <pre><code>            &lt;?xml version="1.0" encoding="utf-8"?&gt;
              &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
              package="com.healthcare.iFind"
              android:versionCode="1"
              android:versionName="1.0.0"&gt;
              &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
              &lt;uses-library android:name="com.google.android.maps" /&gt;
              &lt;activity android:name=".HomeScreen"
              android:label="@string/app_name"&gt;
              &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
              &lt;/activity&gt;
              &lt;activity android:name="MessageList"&gt;&lt;/activity&gt;
              &lt;activity android:name="RateDoctor"&gt;&lt;/activity&gt;
              &lt;activity android:name="RateQuiz"&gt;&lt;/activity&gt;
              &lt;activity android:name="DetailedDoctor"&gt;&lt;/activity&gt;
              &lt;activity android:name="DoctorProfile"&gt;&lt;/activity&gt;
              &lt;activity android:name=".MapsActivity"/&gt;
              &lt;/application&gt;
  </code></pre>
  
  <p>My maplayout.xml file.
                  
                  </p>
  
  <pre><code>            &lt;/manifest&gt;
  
              &lt;?xml version="1.0" encoding="utf-8"?&gt;
              &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"&gt;
  
              &lt;com.google.android.maps.MapView
              android:id="@+id/mapView"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:enabled="true"
              android:clickable="true"
              android:apiKey="mykey"
              /&gt;
              &lt;LinearLayout android:id="@+id/zoom"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_alignParentBottom="true"
              android:layout_centerHorizontal="true"
              /&gt;
  
              &lt;/RelativeLayout&gt;
  </code></pre>