Jonathan Molina
Jonathan Molina

Reputation: 721

My mapView dosen't show the map just shows the overlay items

I already tried to generate my key in https://developers.google.com/android/maps-api-signup with too much MD5 many times but doesn't work . When a try MapView using var mapIntent = new Intent (Intent.ActionView, geoUri) it works but i can't put my overlay items . I need to use my MapView from layout but just show lines and overlayitems. I tried use the example HelloMap in cellphone but happen the same thing doesn't show map just overlay items.

Upvotes: 4

Views: 711

Answers (4)

Jonathan Molina
Jonathan Molina

Reputation: 721

I solved the problem!!!! \o

Instead of generate the release .apk i publish the .apk as i will publish into store ! My MapView worked on both 3g and wi-fi. Thanks everyone for help-me!

Upvotes: 0

Stuart
Stuart

Reputation: 66882

I saw the exact same thing on Monday this week - but haven't returned to the project since to debug it.

My suspicion for me is that this might be a VS2012 or Windows8 bug as I've previously shipped several maps apps from this same PC (before VS2012 and Win8)

If you've got this reproducible right now, I think you should log this with Xamarin - [email protected] or http://bugzilla.xamarin.com

Upvotes: 1

Jonathan Molina
Jonathan Molina

Reputation: 721

To generate the keystore i used

C:\Program Files\Java\jdk1.6.0_20>keytool -genkey -alias umAlias -keystore C:\localParaoArquivo\nomedoarquivo.keystore

to see md5 i used

C:\Program Files\Java\jdk1.6.0_20>keytool -list -v -keystore C:\localParaoArquivo\nomedoarquivo.keystore

I put my key in xml and i also tried in runtime but doesn't work.

what is the difference between MD5 and SHA1? I use in my manifest

    <uses-library android:name="com.google.android.maps" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.CONTROL_LOCATION_UPDATES" />

Upvotes: 0

Gabe Sechan
Gabe Sechan

Reputation: 93678

Either you don't have a valid key, or you forgot to put the uses-library line in your manifest.

Upvotes: 2

Related Questions