Hi All,

I am trying to create a sample application to explore Google maps
through android.

When I try to run the application I only get the blank grid. no map is
displayed.

If i see the DDMS logcat i get erros "Couldn't get connection factory
client".

Please help me in this regard.

Surprisingly the already installed  Google Maps app of emulator is
working fine and showing me the maps

Thanks in advance
Amit

Here is my MapActivity-

public class MapsActivity extends MapActivity {
        /** Called when the activity is first created. */
        @Override
        public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);
        }

        @Override
        protected boolean isRouteDisplayed() {
                return false;
        }
}

==========================

The manifest file looks like -

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
        package="com.eterno" android:versionCode="1"
android:versionName="1.0">
        <application android:icon="@drawable/icon" android:label="@string/
app_name">
                <uses-library android:name="com.google.android.maps" />
                <uses-permission android:name="android.permission.INTERNET" />
                <activity android:name=".MapsActivity" android:label="@string/
app_name">
                        <intent-filter>
                                <action 
android:name="android.intent.action.MAIN" />
                                <category 
android:name="android.intent.category.LAUNCHER" />
                        </intent-filter>
                </activity>

        </application>
</manifest>



and the mail.xml looks like -

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:id="@+id/mapView" android:layout_width="fill_parent"
                android:layout_height="fill_parent" android:enabled="true"
                android:clickable="true"
android:apiKey="02352T_xL1RpvxyvjnKOslq4kck4eh5D-DRQRjg" />
</RelativeLayout>

-- 
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