Hello all, I want to develop one application. ie using google map want to display current location. i register google map api key properly and run exact coding but in emulator its display only squares in emulator and device. anybody please help me!!! thanks in advance
manifest file <?xml version=*"1.0"* encoding=*"utf-8"*?> <manifest xmlns:android=*"http://schemas.android.com/apk/res/android" * package=*"com.bogotobogo.hellogooglemaps" * android:versionCode=*"1" * android:versionName=*"1.0"*> <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"* /> <uses-permission android:name=*"android.permission.ACCESS_MOCK_LOCATION"*></ uses-permission> <application android:icon=*"@drawable/icon"* android:label=* "@string/app_name"*> <activity android:name=*".HelloGoogleMaps" * android:label=*"@string/app_name" * android:theme=*"@android:style/Theme.NoTitleBar"*> <intent-filter> <action android:name=*"android.intent.action.MAIN"* /> <category android:name=*"android.intent.category.LAUNCHER"* /> </intent-filter> </activity> <uses-library android:name=*"com.google.android.maps"* android:required=* "true"*/> </application> <uses-sdk android:maxSdkVersion=*"11"* android:minSdkVersion=*"1"* android:targetSdkVersion=*"7"*/> </manifest> main xml file <?xml version=*"1.0"* encoding=*"utf-8"*?> <com.google.android.maps.MapView xmlns:android=*"http://schemas.android.com/apk/res/android"* android:id=*"@+id/mapview"* android:layout_width=*"fill_parent"* android:layout_height=*"fill_parent"* android:clickable=*"true"* android:apiKey=*"0lK9PMVN2h5NBY3EwsKPBBSV7TTpIZZGG5JDRiA" * /> code package com.bogotobogo.hellogooglemaps; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; import android.os.Bundle; public class HelloGoogleMaps extends MapActivity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); MapView mapView = (MapView) findViewById(R.id.mapview); mapView.setBuiltInZoomControls(true); } @Override protected boolean isRouteDisplayed() { return false; } } whats wrong in my coding? -- 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

