> but how do I go back from B
> to C

Sorry, what  I meant was: how do I go back from B to A?

On May 12, 5:46 pm, "Bullo#88" <[email protected]> wrote:
> Thanks for the quick reply!
>
> One last question:
> Suppose I have 3 classes: A (extends ActivityGroup) B and C (both
> extending Activity).
> I have no problem starting B or C from A, but how do I go back from B
> to C and how do I start C from B?
>
> I think I'm doing something wrong with the LocalActivityManager.
>
> On May 12, 5:24 pm, Richard Cook <[email protected]> wrote:
>
> > 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 <[email protected]> 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 [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