Hello,

I have a map activity that I created following the Hello MapView
example. But when I try loading the activity, I get only grey tiles
and no actual map tiles. In the DDMS I see the "Couldnt get connection
factory client" exception. I am using Emulator with Device API version
as 8 and using Android 2.2.

It seems a lot of people on this forum has that issue and it has been
pointed that this results in either the wrong map key or internet
connectivity issue. I did try browse google maps on emulator and it
worked fine. So internet shouldnt be an issue.

For the maps key I did get the MD5 certificate and confirmed the API
key. I dont know of any other way to find that the key is valid or
not.

Here is what I used to get the certificate:


C:\Program Files\Java\jdk1.6.0_22\bin>keytool -list -alias
androiddebugkey -keys
tore "c:\documents and settings\apurvag\.android\debug.keystore" -
storepass andr
oid -keypass android

Here is my manifest file

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
      package="timmons.android.map"
      android:versionCode="1"
      android:versionName="1.0">
            <uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"/>
      <uses-permission android:name="android.permission.INTERNET" />

    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=".LoginScreen"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
<activity android:name=".MainMenu"
android:label="@string/main_menu_title"
android:theme="@style/GlobalTheme">
</activity>
<activity android:name=".GPSScreen"
android:label="@string/gps_title"
android:theme="@style/GlobalTheme">
</activity>
<uses-library android:name="com.google.android.maps"/>
    </application>
  </manifest>

Any help on this one is highly appreciated.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to