Saturday, July 30, 2011

[android-developers] Re: Multiple Activities within a Tab

Though i am learning android but i want to bring some application in
the android market.

I wish to have tabs for my application.
If i dont use ActivityGroup, how can i have multiples view in the same

On Jul 31, 12:02 am, Mark Murphy <> wrote:
> On Sat, Jul 30, 2011 at 2:54 PM, RobinDroid <> wrote:
> > I am currently developing a tab based application to learn Android.
> > I have 2 tabs: TAB1 and TAB2.
> > I created tabs: thats fine:
> > TAB1: is used to browser some files, dats ok as well.
> > The problem is with tab2.
> > TAB2 extends ActivityGroup: Why because i will has multiple activities
> > within it and also different Menus:
> Please don't. ActivityGroup -- and having activities in tabs by
> extension -- is deprecated.
> Please use Views as the contents of your tabs in a TabHost. There is
> no sense in you "developing a tab based application to learn Android"
> that uses techniques that are no longer endorsed.
> --
> Mark Murphy (a Commons Guy)||
> Android 3.1 Programming Books:

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment