Turns out I needed a Debug key, not just my Release key. On Aug 29, 11:37 pm, Robert Thau <[email protected]> wrote: > The most common cause of this sort of misbehavior is forgetting to request > internet access permission in the Android manifest (without which the > MapView's > background threads don't have permission to fetch the tiles). > > > > > > > > On Tue, Aug 30, 2011 at 12:31 AM, bob <[email protected]> wrote: > > I'm working with maps for the first time, but all I get is this grid: > > >http://i1190.photobucket.com/albums/z449/m75214/blankgrid.png > > > Any ideas? > > > Here's my code: > > > import com.google.android.maps.GeoPoint; > > import com.google.android.maps.MapActivity; > > import com.google.android.maps.MapController; > > import com.google.android.maps.MapView; > > > import android.app.Activity; > > import android.os.Bundle; > > > public class hmm extends MapActivity { > > private MapController mapController; > > private MapView mapView; > > > /** Called when the activity is first created. */ > > @Override > > public void onCreate(Bundle savedInstanceState) { > > super.onCreate(savedInstanceState); > > setContentView(R.layout.main); > > mapView = (MapView) findViewById(R.id.mapview); > > > mapView.setBuiltInZoomControls(true); > > mapView.setStreetView(true); > > mapController = mapView.getController(); > > mapController.setZoom(14); > > int lat=(int) (32.969185f * 1E6); > > int lng=(int) (-96.60576f * 1E6); > > GeoPoint point = new GeoPoint(lat, lng); > > mapController.animateTo(point); > > } > > > @Override > > protected boolean isRouteDisplayed() { > > // TODO Auto-generated method stub > > return false; > > } > > } > > > -- > > 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
-- 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

