Hello, i have the same problem, this is the log: 07-21 07:37:53.715: INFO/ActivityManager(568): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=731 uid=10003 gids={3003} 07-21 07:37:54.073: INFO/jdwp(731): received file descriptor 20 from ADB 07-21 07:37:54.122: ERROR/jdwp(731): Failed sending req to debugger: Broken pipe (-1 of 27) 07-21 07:37:54.141: ERROR/jdwp(731): Failed sending reply to debugger: Broken pipe 07-21 07:37:54.141: INFO/dalvikvm(731): Debugger has detached; object registry had 2 entries 07-21 07:37:54.642: DEBUG/dalvikvm(731): Trying to load lib /system/lib/libjni_latinime.so 0x43593800 07-21 07:37:54.652: DEBUG/dalvikvm(731): Added shared lib /system/lib/libjni_latinime.so 0x43593800 07-21 07:37:55.112: INFO/jdwp(731): received file descriptor 26 from ADB 07-21 07:37:59.912: DEBUG/dalvikvm(609): GC freed 94 objects / 5104 bytes in 122ms 07-21 07:38:00.723: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:38:37.123: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:39:22.622: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:40:19.501: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:41:30.562: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:42:59.372: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:44:50.383: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:47:09.122: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:50:02.542: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException 07-21 07:51:31.751: DEBUG/dalvikvm(607): GC freed 9842 objects / 555648 bytes in 139ms 07-21 07:53:39.301: INFO/InetAddress(719): Unknown host www.google.com, throwing UnknownHostException
However the app of maps works fine, my androidmanifest is: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.HelloMap2" 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.ACCESS_FINE_LOCATION"/> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> <uses-permission android:name="android.permission.INTERNET" /> <activity android:name=".HelloMap2" 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> <uses-sdk android:minSdkVersion="3" /> </manifest> Main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/main" 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:enabled="true" android:clickable="true" android:apiKey="my_key" /> </LinearLayout> And Java code: package com.HelloMap2; import android.app.Activity; import android.os.Bundle; import com.google.android.maps.*; import android.widget.LinearLayout; import android.widget.ZoomControls; public class HelloMap2 extends MapActivity { LinearLayout linearLayout; MapView mapView; ZoomControls mZoom; /** 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; } } 2009/7/20 Jack Ha <jack...@t-mobile.com> > > Did you see any errors in logcat? > > Make sure you have the following line in the manifest file: > > <uses-library android:name="com.google.android.maps" /> > > Can you post your source file and manifest file here? > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The views, opinions and statements in this email are those of > the author solely in their individual capacity, and do not > necessarily represent those of T-Mobile USA, Inc. > > > On Jul 20, 9:46 am, Neilz <neilhorn...@googlemail.com> wrote: > > Yes, everything is in place as specified in the tutorial. > > > > On Jul 20, 4:34 pm, Jack Ha <jack...@t-mobile.com> wrote: > > > > > Did you obtain the Maps Api key and insert that in "android:apiKey" in > > > the layout file? Also make sure that your application has requested > > > the INTERNET permission. > > > > > -- > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---