title: android - how to import com.google.android.maps.MapActivity?
body: <p>I am  trying to get google maps to work in my android project. I have already got the md5 key and signed up with google to get the api key, but now when i am trying to display the map, I get an error when importing it. "com.google" has the sqiqly red line under it.</p>
  
  <p>Can anyone help?
  Thanks</p>
  
  <p>this is my xml file: (note: i replaced the key with 'my_key' since i didnt want to make it public)</p>
  
  <pre><code>&lt;com.google.android.maps.MapView
     android:id="my_map"
     android:layout_width="fill_parent"
     android:layout_height="fill_parent"
     android:enabled="true"
     android:clickable="true"
     android:apiKey="my_key"/&gt;
  </code></pre>
  
  <p>and for the java file:</p>
  
  <pre><code>package com.escortme.basic;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.view.View;
  import com.google.android.maps.MapActivity; // ERROR
  import com.google.android.maps.MapView;     // ERROR
  import android.os.Bundle;
  
  public class Police_ViewActivity extends Activity {
      @Override
      public void onCreate(Bundle savedInstanceState){
          super.onCreate(savedInstanceState);
          setContentView(R.layout.pol_view);
      }
  
      public void quit_button_action(View view){
          finish();
      }
  }
  </code></pre>