I have subclassed the MapActivity and created the new MapView but when I launch my application it won't display a map. The Maps app that comes with the SDK does work.
here is my code: public class perimeter extends MapActivity { protected MapView MyMapView = null; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); MyMapView = new MapView(this,"ABC"); setContentView(MyMapView); } @Override protected boolean isRouteDisplayed() { // TODO Auto-generated method stub return true; } } And here is my Manifest file..... <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ds.perimeter"> <application android:icon="@drawable/icon" android:label="@string/ app_name"> <activity android:name=".perimeter" 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> </manifest> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---