did you figure this out? I have a similar problem... thanks On May 28, 6:19 am, Kamal <[email protected]> wrote: > Hi all, > > I am using android SDK1.0 and trying to load google map. > I am able to browse maps.google.com site from android emulator so I > feel internet may not be the problem. > I also have obtained the Map API key as mentioned in the the > document. > > My AndroidManifest.xml file looks like this. > <?xml version="1.0" encoding="utf-8"?> > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="bst.GoogleMap" > android:versionCode="1" > android:versionName="1.0.0"> > <uses-permission android:name="android.permission.INTERNET" /> > <application android:icon="@drawable/icon" android:label="@string/ > app_name"> > <uses-library android:name="com.google.android.maps" /> > <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> > > main.xml file > <?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 = "012_Xi3bU6NpfpRxR11DEmea0n9wLHPgD1ThJ2w" > > /> > </RelativeLayout> > > Java Codes : > > package bst.GoogleMap; > > import android.os.Bundle; > > import com.google.android.maps.MapActivity; > import com.google.android.maps.MapView; > > 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; > > } > } > > As mentioned, this should display Map on map view. But I see only Gids > nothing else. > > What could be the problem....... > > Helps are appreciated.. > > I also would like to add that we have firewall in our office.... > > after few settings, I am able to browse internet from android > emulator.. > > Can we assume that now there is no internet problem ? > > Log file indicates..... > > 05-28 13:47:58.237: INFO/ActivityManager(51): Start proc bst.GoogleMap > for activity bst.GoogleMap/.MapsActivity: pid=651 uid=10024 gids= > {3003} > 05-28 13:47:58.326: INFO/jdwp(651): received file descriptor 13 from > ADB > 05-28 13:47:58.677: WARN/Maps_Persistence(651): Couldn't find file: / > data/data/bst.GoogleMap/files/DATA_Tiles > 05-28 13:47:58.917: INFO/MapActivity(651): Handling network change > notification:CONNECTED > 05-28 13:47:58.917: ERROR/MapActivity(651): Couldn't get > connectionfactoryclient > 05-28 13:47:59.048: INFO/ActivityManager(51): Displayed activity > bst.GoogleMap/.MapsActivity: 924 ms > 05-28 13:47:59.647: WARN/AndroidHttpConnectionFactory(651): > IOException in HttpClient: Host is unresolved:www.google.com:80 > 05-28 13:48:00.156: DEBUG/dalvikvm(651): GC freed 5140 objects / > 336944 bytes in 78ms > 05-28 13:48:00.207: WARN/AndroidHttpConnectionFactory(651): > IOException in HttpClient: Host is unresolved:www.google.com:80 > 05-28 13:48:00.457: WARN/AndroidHttpConnectionFactory(651): > IOException in HttpClient: Host is unresolved:www.google.com:80 > 05-28 13:48:00.717: WARN/AndroidHttpConnectionFactory(651): > IOException in HttpClient: Host is unresolved:www.google.com:80 > 05-28 13:48:00.986: WARN/AndroidHttpConnectionFactory(651): > IOException in HttpClient: Host is unresolved:www.google.com:80 > > Regards, > Kamal --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

