importing com.google.maps.MapView not working
<p>Trying to do a map example I found here 
<a href="http://codemagician.wordpress.com/2010/05/06/android-google-mapview-tutorial-done-right/" rel="nofollow">http://codemagician.wordpress.com/2010/05/06/android-google-mapview-tutorial-done-right/</a></p>

<p>The problem is this code. Specifically, the compiler does not seem to know what a MapView is? In fact, also applies to android.graphics.drawable.Drawable. I thought that the import statement would resolve that but must be missing some other setup step. </p>

<p>Any help appreciated.</p>

<pre><code>package com.example.HelloGoogleMaps2;
import java.util.List;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;
import com.google.android.maps.Overlay;
import com.google.android.maps.OverlayItem;

public class MainMap extends MapActivity
{
 @Override
 public void onCreate(Bundle savedInstanceState)
 {
     super.onCreate(savedInstanceState);
     setContentView(R.layout.main);

     **MapView** mapView = (MapView) findViewById(R.id.mapview);
     mapView.setBuiltInZoomControls(true);

     List&lt;Overlay&gt; mapOverlays = mapView.getOverlays();
     **Drawable** drawable = this.getResources().getDrawable(R.drawable.icon);
     HelloItemizedOverlay itemizedoverlay = new HelloItemizedOverlay(drawable,this);
     GeoPoint point = new GeoPoint(30443769,-91158458);
     OverlayItem overlayitem = new OverlayItem(point, "Laissez les bon temps rouler!", "I'm in Louisiana!");

     GeoPoint point2 = new GeoPoint(17385812,78480667);
     OverlayItem overlayitem2 = new OverlayItem(point2, "Namashkaar!", "I'm in Hyderabad, India!");

     itemizedoverlay.addOverlay(overlayitem);
     itemizedoverlay.addOverlay(overlayitem2);

     mapOverlays.add(itemizedoverlay);
 }
 @Override
 protected boolean isRouteDisplayed()
 {
 return false;
 }
}
</code></pre>
