You can reuse the latest Google Maps v2 binding from Tom. It is publicly
available in monodroid-samples:
https://github.com/xamarin/monodroid-samples/tree/master/MapsAndLocationDemo_v2
He also wrote some notes on how to get an API key.
some more comments inline:
John Murray wrote:
Can anyone help here - I was experimenting trying to devise a way I
could use Google Maps API to get a Lat and Long from a touch on a map.
1) am I right in saying that in Mono For Android I need a map api
2) if so I have followed the advice on Xamarin site
http://docs.xamarin.com/Android/Guides/Platform_Features/Maps_and_Location/Obtaining_a_Google_Maps_API_Key
viz
step 1
Obtain signing key fingerprint
keytool.exe -list -alias androiddebugkey -keystore debug.keystore
-storepass android -keypass android
this appears to produce a valid fingerprint for the debug
58:90:25:17:81:61:0F:77:04:22:32:70:05:A3:8A:1D:B4:76:CA:8A
the only oddity I notice is that on the Xamarin documentation example
the key is preceded by (MD5) whereas my key says (SHA1)
You need to add -v to your keytool argument. (It is documented on the
android website linked from Tom's README.)
step 2
enter the resulting key in
https://developers.google.com/maps/documentation/android/v1/maps-api-signup
Unfortunately I get an invalid message
"The fingerprint that you entered is not valid. Please press the Back
button on your browser and enter a valid certificate fingerprint"
I notice this is V1 and it is deprecated from 3 December 2012 and will
disappear from March 2013 but that means it should still work right now
So that can’t be the problem
I have tried going to the V2 console here
https://code.google.com/apis/console/#project:326860401265:access
but entering the fingerprint after pressing the 'create new Android
key' still give 'Your input was invalid
Yes it is invalid, now they only accepts SHA-1, not MD5.
HTH,
Atsushi Eno
So can anyone give me any pointers please?
Is there any easier way to achieve the getting lat and long from a map
without all this palaver?
John murray
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid