yes, I've added the <uses-library
android:name="com.google.android.maps"/> line into manifest, but the
error occurs in spite of it.

On 31 май, 18:44, Mark Murphy <[email protected]> wrote:
> Mike Lanin wrote:
> > Hi, guys!
> > I want to use MapActivity in my app, but in the line mapView =
> > (MapView) findViewById(R.id.mapView); the error "cannot cast from View
> > to mapView" occurs. I also tried to copy "Hello, mapView" example, but
> > it gives the same.
> > Does anyone have the same problem?
>
> Do you have the <uses-library> element in your manifest?
>
> http://code.google.com/android/add-ons/google-apis/maps-overview.html...
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to