Are you seeing any "permission denied" messages in the console while your
application is running?

Another wild guess:
Are you sure that the debug.keystore you are using to sign the app is the
same one that you associated with the API Map Key? You can check out the
SHA1 fingerprint of your APK by first unzipping it, and then typing :

keytool -printcert -file META-INF/ANDROIDD.RSA

at the command line. Maybe just compare the two fingerprints to ensure that
are are the same.


On Tue, Jan 8, 2013 at 8:04 AM, john Murray <j...@murray.uk.com> wrote:

> Atsushi
> A follow on - I discovered a debug.keystore in the
> users\me\appadata\local\xamarin folder which was dated 20/08/2011 which
> when
> used to generate a fingerprint had a validity out to 2040
> But even this new fingerprint is giving invalid code on both Google api V1
> and V2 console
> I am using SHA1
> Any ideas?
>
>
> -----Original Message-----
> From: monodroid-boun...@lists.ximian.com
> [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of John Murray
> Sent: 08 January 2013 14:37
> To: 'Discussions related to Mono for Android'
> Subject: Re: [mono-android] Google maps with MfA need for api key and
> getting lat and long
>
> 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
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
http://www.opgenorth.net
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to