ActivityGroup works just like a normal activity with one key difference - it
can have multiple activities embedded into it.
You will run the activityGroup with all the normal ways you run an activity,
implementing the onCreate, onDestroy, etc... Typically if you have a default
activity, you will want the OnCreate method to default to it.

Use case statements in the primary ActivityGroup to dictate which
activity/view will be displayed.
Hope that helps - there really isn't much to it once you get it working.

When you start an activity, however, the primary activityGroup will still be
the parent activity. So you will need to be careful one when you override
menu's, and where you handle that information (for example, Menu's can be
handled in the parent aactivity, but created in the child activity).

Good luck!

On Tue, May 12, 2009 at 8:20 AM, Bullo#88 <bulonce...@gmail.com> wrote:

>
> Hi,
> anyone can point me to a tutorial about ActivityGroup or give me some
> hints on how to use it?
> I looked at the documentation but I wasn't able to understand how it
> works...
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to