On Tue, Sep 14, 2010 at 1:45 PM, tatebn <[email protected]> wrote: > I've stumbled on a new, related issue. One of the tabs is a mapview. > How do I work with that? I get an error having a mapView outside of a > mapActivity. Since I'm obviously extending TabActivity here, how do I > get a map in one of these tabs?
Don't extend TabActivity. Extend MapActivity. After getting your TabHost via findViewById(), call setup() on it before proceeding. You can see this in the two examples I linked to. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy -- 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

