android emulator - google maps not displaying -


in application want display maps. not displaying don't know why behaves.

actually first got api running cmd in cmd prompt this. first went

c:\program files\java\jdk1.6.0\bin>keytool.exe -list -alias androiddebugkey -keystore "c:\documents , settings\administrator\.android\debug.keystore" -storepass android -keypass android  

enter cmd. got md5 finger print

androiddebugkey, jun 21, 2011, privatekeyentry, certificate fingerprint (md5): 87:a0:e9:d4:d6:c8:b1:e6:ab:d1:ad:de:a7:03:b1:7f 

so have copy 1 http://code.google.com/android/maps-api-signup.html , got api 00fpjatadwkotgrosangjka0bxxbhjbaub_gyba. put xml this

<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="00fpjatadwkotgrosangjka0bxxbhjbaub_gyba"     /> 

and java file following package

com.orb.google; import android.os.bundle; import com.google.android.maps.mapactivity;  public class googleactivity extends mapactivity { /** called when activity first created. */ @override public void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate);     setcontentview(r.layout.main); }  @override protected boolean isroutedisplayed() {     // todo auto-generated method stub     return false; } } 

and manifest file this

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"   package="com.orb.google"   android:versioncode="1"   android:versionname="1.0"> <uses-sdk android:minsdkversion="4" />  <application android:icon="@drawable/icon" android:label="@string/app_name"> <uses-library android:name="com.google.android.maps" />      <activity android:name=".googleactivity"               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-permission android:name="android.permission.internet" /> </manifest>  

so please me why cannot google maps in emulator there no error getting in console , logcat files.and developed application displays maps in system cannot display maps in system.what problem please me.thanks advance.

please use googleapi emulator if not using this.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -