On Aug 9, 2012, at 4:58 AM, MysteriX <wolf.benja...@arc-greenlab.de> wrote:
> Hello, iam working with Mono for Android as a evaulation version. 
> I try to use the MapView but all I see is a Mapview-Grid.

Not sure what you mean by "Mapview-Grid". There's a Android.GoogleMaps.MapView 
class in Mono.Android.GoogleMaps.dll:

        http://androidapi.xamarin.com/?link=T:Android.GoogleMaps.MapView

> I read that there is a api key i have to generate. i did it a few times but 
> nothing works.

Generating the API key is...tricky:

        
http://docs.xamarin.com/android/advanced_topics/Obtaining_a_Google_Maps_API_Key

It's tricky because the Google Maps API key is tied to the keystore you use to 
sign your app. Mono for Android creates a default "debug" signing key on first 
use, which works for deploying apps to the device for testing, but should NOT 
be used for app store deployment. (Instead, you'd need to create your own 
"release" key, get a Google Maps API key for that release key, and sign your 
app with your release key [0]...)

Because the Google Maps API key is tied to the key used to sign the .apk, it's 
highly unlikely that your friend, building on their machine, will be able to 
use the same Google Maps API key because their machine will have a different 
debug key.

This can be worked around by explicitly specifying your own signing key that 
all developers on your team use, but you'll also need to deal with key 
distribution as well. (I doubt you'd want your signing key to be stored in your 
revision control system...)

        http://docs.xamarin.com/android/advanced_topics/build_process#Signing

 - Jon

[0] 
http://docs.xamarin.com/android/tutorials/Preparing_Package_for_Android_Marketplace#Step_3.3a_Create_a_Market_Private_Keystore

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to