It seems like you are missing the
<uses-libraryandroid:name="com.google.android.maps" /> tag inside the
<application> tag
in AndroidManifest.xml.
2008/9/19 Bourke Floyd IV <[EMAIL PROTECTED]>
>
> public class TestMapActivity extends MapActivity {
>
> private static MapView mMapView;
> private GeoPoint mDefPoint;
>
> /** Called when the activity is first created. */
> @Override
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
>
> requestWindowFeature(Window.FEATURE_NO_TITLE);
>
> setContentView(R.layout.main);
>
>
> mMapView = (MapView)findViewById(R.id.basic_map);
>
> mDefPoint = new GeoPoint(39041907,-94591640); // The Country Club
> Plaza (random loc)
> mMapView.getController().setZoom(10);
> mMapView.getController().setCenter(mDefPoint);
> }
>
> I also have:
>
> <uses-permission
> android:name="android.permission.ACCESS_COARSE_LOCATION"/>
> <uses-permission android:name="android.permission.INTERNET" />
> <uses-permission android:name="android.permission.ACCESS_LOCATION"/
> >
> <uses-permission android:name="android.permission.ACCESS_GPS"/>
>
> in the top part of my manifest above <application>
>
> One more thing. My Browser and Maps application on the android Desktop
> both work fine. So I don't suspect a network issue.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---