Ok ! I get it now. 'Under' in the context of the stack where they are maintained. The example you present is perfect for the rest of my queries. Thanks.
On Fri, Jul 3, 2009 at 6:08 PM, Peli <[email protected]> wrote: > > > I think "three under the current activity" should be "four under the same > > task". > > Both is correct: It is a semantic problem of the word "under": > * "four under the same task": There are four activities *within* this > task > * "three under the current activity": There are three activities > *below* the current activity. > > Ok? There are activities A, B, C, D on top of each other. D is the top > activity, and three activities (A, B, and C) are below, or "under" > activity D. > > > I think this paragraph i quote above has nothing to do with activities > > distributed across applications..and belonging to the same task. > > It can be, because activities A, B, C, and D don't have to be from the > same application. > > A can be OI Notepad list of notes, B can be a OI Notepad note, C can > be OI Convert CSV, and D can be OI File manager (so there are > activities from 3 different applications). The user started with > notepad, wanted to export all notes, and now chooses a location for > saving the notes to be exported. > > If the user goes back to home screen, and launches OI Notepad again, > (s)he is presented with OI File manager to select a file location > (because that is the activity on top of the OI Notepad stack). > > Peli > www.openintents.org > > On Jul 3, 12:06 pm, Android Development <[email protected]> wrote: > > I had a question regarding this concept. > > Suppose i have an application that defines a task. This task has some > > activities that belong to another Android application. The Dev guide > says, > > that to maintain a uniform user experience, Android will maintain such > > 'distributed' activities as part of the same 'task' even if they belong > to > > different applications. > > > > I refer to it from here: > http://developer.android.com/guide/topics/fundamentals.html > > > > Some lines later, the Dev guide says and i quote: > > * > > * > > *"**Suppose, for instance, that the current task has four activities in > its > > stack — three under the current activity. The user presses the HOME key, > > goes to the application launcher, and selects a new application > (actually, a > > new task). The current task goes into the background and the root > activity > > for the new task is displayed. The current task goes into the background > and > > the root activity for the new task is displayed. Then, after a short > period, > > the user goes back to the home screen and again selects the previous > > application (the previous task). That task, with all four activities in > the > > stack, comes forward. When the user presses the BACK key, the screen does > > not display the activity the user just left (the root activity of the > > previous task). Rather, the activity on the top of the stack is removed > and > > the previous activity in the same task is displayed."* > > > > I think "three under the current activity" should be "four under the same > > task". > > > > I think this paragraph i quote above has nothing to do with activities > > distributed across applications..and belonging to the same task. This > para > > is maybe talking about two applications, that share a common application > > launcher and each application has defined its own tasks (stack of > > activities). > > > > The user is simply toggling from one application to another, thus > > demonstrating that all activities (of a task) move together. However, > > the "three > > under the current activity" phrase is confusing me. > > > > Please correct me if I am wrong. > > > > Thanks in advance.. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

