On Aug 30, 2011, at 4:25 PM, Tomasz Cielecki wrote: > Thanks for your answer. How will MonoDroid 1.1 compared to using java to > create a MapView?
When we have full .jar support, you'll be able to subclass MapActivity in C# instead of Java. Nothing else changes -- you'll still need a device with the maps library (e.g. use the right Target when creating the emulator), you'll still need to create/maintain a "persistent" signing key, and you'll still need the Google Maps API key (which is based on the signing key, which is why you need to create/use a new key). Bing maps is easier because Microsoft actually cared about making it braindead easy for developers to use. Google apparently doesn't care. (If Google did care, they wouldn't require the API key!) > Are there some examples I can look at because I find that sample a bit > lacking. I suppose there should be a way to communicate with the intent > launched with the map, but how? You can use Intents to send data to the MapActivity (see e.g. Intent.getStringExtra()), your "launching" activity can use Activity.StartActivityForResult(), and you can then override Activity.OnActivityResult(). OnActivityResult() will be invoked when the launched activity finishes (and calls Activity.setResult()). Unfortunately, we don't have a full example showing this. Thanks, - Jon _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
