Monday, 15 March 2010

authentication - How to connect to Google Maps API v2 on Android -



authentication - How to connect to Google Maps API v2 on Android -

i'm having hard time connecting google maps api via heatmap demo app (https://github.com/googlemaps/android-maps-utils). followed instructions @ https://developers.google.com/maps/documentation/android/utility/heatmap set project , runs, problem map doesn't show on screen , these errors in logcat:

i/google maps android api(31950): failed contact google servers. effort made when connectivity established. e/google maps android api(31950): failed load map. error contacting google servers. authentication issue (but due network errors).

i added next manifest (<my_api_key> value got https://code.google.com/apis/console, had upload sha1 key followed semicolon ";" , bundle name "com.google.maps.android.utils.demo"):

<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <meta-data android:name="com.google.android.maps.v2.api_key" android:value="<my_api_key>"/>

any ideas on how authentication working? (assuming that's problem)

google-maps authentication google-maps-android-api-2 heatmap

No comments:

Post a Comment