Any idea on what? When I change the to just a normal Activity with nothing
displayed it does not crash. However, when I just have the following it
does
*public* *class* MapMarkActivity *extends* MapActivity
{
*public* String lv_err_msg;
*public* LinearLayout linearLayout;
*public* MapView mapView;
*public* List<Overlay> mapOverlays;
*public* Drawable drawable;
*public* MapItemizedOverlay itemizedOverlay;
*public* MapController mapController;
@Override
*protected* *void* onCreate(Bundle icicle)
{
*super*.onCreate(icicle);
setContentView(R.layout.main_map_mark);
}
////////////////////
@Override
protected boolean isRouteDisplayed()
{ return false; }
}
////////////// in main_map_mark ///////////////
<?xml version=*"1.0"* encoding=*"utf-8"*?>
<RelativeLayout xmlns:android=*"http://schemas.android.com/apk/res/android"*
android:id=*"@+id/mainlayout"*
android:orientation=*"vertical"*
android:layout_width=*"fill_parent"*
android:layout_height=*"fill_parent"*
android:layout_weight=*"1"* >
<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=*"<mine was added"* />
</RelativeLayout>
--
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