tags:

views:

20

answers:

0

Hi All,

I have done one project in android which is to display map using GOOGLE API KEY.

goto:http://mobiforge.com/developing/story/using-google-maps-android

I generated MAP API key by following the procedure mentioned in above link correctly. It works well and displays map on EMULATOR.

I took BUILD of my project and uploaded into the android MOBILE. Here Map DOESN'T display on my mobile.

Don't know what is the reason behind this problem :(

My AVD Version Details:

AVD Name: Google APIs(Google Inc.) Platform : 2.1 API Level: 7

My android Mobile Details:

It also supports GoogleAPI 2.1(Level 7) only. All other functionalities work well except displaying map.(I am getting Polylines only)

My XML file looks:

<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="0l4sCTTyRmXTNo7k8DREHvEaLar2UmHGwnhZVHQ"
    />

Can anyone help me to recover this problem?

Thanks in advance!