if(response.equals("REQUEST_DENIED"))
{
System.out.println("make sure to obtain a key from "
+ "https://developers.google.com/maps/documentation/places/");
Dialog.show("Info", "make sure to obtain an application key from "
+ "google places api's"
, "Ok", null);
return;
}
MapComponent mc = new MapComponent(new GoogleMapsProvider("... your key here"), currentMap.getCenter(), currentMap.getZoomLevel());
Read the quota section: https://developers.google.com/maps/articles/geocodestrat