Many thanks Atsushi Using the -v switch I discovered that the debug.keystore generated fingerprint is valid onlyfor 36days after the date of the debug.keystore file As teh one in users\me\.android is date may 2010 then the generated fingerprint is out of date.
Any idea how I can get an up to date debug.keystore file The android sdk manager is up to date Tia John Murray -----Original Message----- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Atsushi Eno Sent: 08 January 2013 13:42 To: Discussions related to Mono for Android Subject: Re: [mono-android] Google maps with MfA need for api key and getting lat and long 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_Loca > tion/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-s > ignup > > 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 > Monodroid@lists.ximian.com > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid