i have made an application in which i need to load the google maps. For this i am using the Google API 8 in my application.
i have the following code in my xml file:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.google.android.maps.MapView
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:apiKey=" 0x94IPJOQyNBzKMCfF5ks82SpwcbVab3Ixfk_hQ " android:id="@+id/mapview"
android:enabled="true"/>
<!-- home key -->
<!-- 0x94IPJOQyNBzKMCfF5ks82SpwcbVab3Ixfk_hQ -->
<!-- map key for publishing -->
</LinearLayout>
The above key i have obtained by using the MD5 print of the debug.keystore file.
The error that i am getting in the Logcat is :
07-25 22:52:02.167: ERROR/MapActivity(4784): Couldn't get connection factory client
In the .java file for the maps, i have used an overlay to load a set of co-ordinates. The overlay is visible but the map is not visible. What could be going wrong?
thank you in advance.
Do you have allowed permission for connection to internet? Or you see grid lines?
And what I have noticed, you have empty space at the end and beginning of
android:key="