Thanks for all your input I did get it working.

Dan
On May 2, 2011 4:16 PM, "Streets Of Boston" <[email protected]> wrote:
> You cannot replace a *fragment *(e.g. your ImageView fragment) directly
with
> an *activity *(in your case a subclass of AFragmentMapActivity). Don't
> confuse Activities with Fragments.
>
> Have your main Activity, that hosts the Map fragment (and possibly other
> fragments as well), extend AFragmentMapActivity. In my example that is
> 'Main'.
> Then inflate in your main Activity a layout with a <fragment> that
contains
> a MapView. In my example that is 'MapFragment'.
>
> --
> 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

-- 
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