I currently use a MapActivity in my application. I use it with 2 API Keys. One for debugging, and one for \"production\"
I am fed up with changing these values in th
This works for me.
This variant of MapView constructor is documented here: https://developers.google.com/maps/documentation/android/reference/com/google/android/maps/MapView
@Override
protected void onCreate(Bundle arg0) {
super.onCreate(arg0);
String mapApiKey =
mMapView = new MapView(this, mapApiKey);
setContentView(mMapView);