Make sure your activity which contains Fragment which inturn contains
MapView, extends MapActivity. For your "TestFragment" should extend
Fragment. Find ur map view by id from the inflated layout in onCreateView().

******There is a disadvantage with current design it can not have two
MapView per MapActivity.

Reg,
Varun

On Mon, Aug 1, 2011 at 6:26 PM, narendra bagdwal <[email protected]
> wrote:

> Hi Varun can u send sample code for that.
>
> Thanks,
>
>
>
> On May 3, 8:48 pm, Varun Tewari <[email protected]> wrote:
> > @TreKing: Thanks for sharing this thread.
> >
> > I actually fixed my problem by moving my fragments to a Root MapActivity.
> > While inflating mapView with other children of Fragment didn't cause any
> > problem this way.
> > Hope this will be helpful for others.
> >
> > Thanks & Reg,
> > Varun
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Mon, May 2, 2011 at 11:29 PM, TreKing <[email protected]> wrote:
> > > On Mon, May 2, 2011 at 12:54 PM, Varun Tewari <
> [email protected]>wrote:
> >
> > >> Is it possible to achieve with current Fragment Support ?
> >
> > >http://groups.google.com/group/android-developers/browse_thread/threa.
> ..
> >
> > >
> ---------------------------------------------------------------------------
> ----------------------
> > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> > > transit tracking app for Android-powered devices
> >
> > >  --
> > > 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 athttp://
> 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