In ActivityManagerService there is mRecentTasks and mHistory.   these
seem to be key to how it all wokrs.

this is my understanding:

mHistory is used to record the 'visual' order of activities that are
revealed as the user pushes 'back'.

mRecentTasks is the list of tasks.  Which activity belongs to which
task is recorded in mHistoryRecord.

when you want to move a task around, such as to activate it by making
it visible, you have to manipulate mHistory so that all of the
activities belonging to tha task are moved as a block to the top of
the mHistory stack.

I have some questions:

1)  why is mHistory a single stack?  You could have made each task in
mRecentTasks point to a different stack instance - its own stack of
activities, and have the order of tasks in mRecentTasks define the
order in which the different tasks were revealed as the user pushes
back through the activities of one task into the activites of the
next.  I assume there is something fundamental I am missing that is
the reason.

2) is the order of tasks in mRecentTasks important?

cheers

Steve

On Feb 17, 7:47 pm, Dianne Hackborn <[email protected]> wrote:
> On Mon, Feb 16, 2009 at 1:01 PM, stefoid <[email protected]> wrote:
> > The imagination and innovation has to come from us, but it would be
> > nice to have the tools available.
> > At least something more than 'good luck' and an emoticon...
>
> So I've pointed you to the parts of the system where these kinds of features
> would be added.  Might I suggest that the next step would be for you to look
> there, start learning it, and then come back with questions?
>
> I don't understand what your mean by not having tools available.  You have a
> full modern window compositor and a high-level window manager with some
> pretense at separating specific windowing policy from the mechanics of
> managing focus and animations and such.  What more are you looking for?
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" 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-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to