Sweet, so it turns out you can make the Activity which manages your
Fragments extend MapActivity.

Then you can make a MapFragment with a MapView.  Seems to work so far.

Thanks to Valentin here:
http://stackoverflow.com/questions/5109336/mapview-in-a-fragment-honeycomb

On Fri, Mar 4, 2011 at 4:07 AM, Mark Murphy <[email protected]> wrote:

> On Fri, Mar 4, 2011 at 12:37 AM, Dianne Hackborn <[email protected]>
> wrote:
> > Sorry, nothing scheduled.  There is nothing preventing you from writing a
> > little code to put MapView in your own fragment, is there?
>
> The bigger issue is that MapView has to be in a MapActivity, and there
> may be some problems there:
>
> http://stackoverflow.com/questions/5109336/mapview-in-a-fragment-honeycomb
>
> I have not yet tried this personally, as I was waiting for the
> backwards-compatibility library before diving headlong into fragments
> (and many thanks for that library!).
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android 3.0 Programming Books: http://commonsware.com/books
>
> --
> 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