Hai to all...
I am developing a GPS application...I have got direct connection over the internet...I can see those grid lines...But cant see the map on the screen...
Can anyone of you please help me...
My source code is also given...
package com.sree.Map;
import android.os.Bundle;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
public class MapApp extends MapActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
MapView myMap = new MapView(this,"0AX9CnKcr5KQVP0AcyZKijZDoZgY3HbjT1Oek9g");
MapController mapC = myMap.getController();
mapC.animateTo(new GeoPoint((int)76.5,(int)9.62));
setContentView(myMap);
}
protected boolean isRouteDisplayed(){
return false;
}
}
Manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.sree.Map"
android:versionCode="1"
android:versionName="1.0.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".MapApp"
android:label="@string/app_name">
<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"/>
</application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FINE_LOACTION" />
</manifest>
I hope there is no need to put my layout file source here....
I am waiting for the replies...Please help me...


