Android Task Stack

Source: Internet
Author: User

Android: allowTaskReparenting.
Android: clearTaskOnLaunch = "true": If A starts B and then switches to home, click the icon (Lauch) to switch back. A is displayed and the job stack above A is cleared.
Android: finishOnTaskLanch = "true": If A starts B and then switches to home, click the icon (Lauch) to switch back. A is displayed because B already has, it is cleared from the task stack.
Android: multiproess: If A defines this attribute, then another process calls A, then they are in one process.
Android: noHistroy: If A defines this attribute, it is automatically cleared from the task stack when it is not on the screen.
Android: excludeFromRecents: If A defines this attribute, switch it out and press the Home key for A long time.
Android: process: an alias for the process.
Android: stateNotNeeded: When onSaveInstanceState is passed in, a null value is entered.
Android: screenOrientation: defines what the screen is based on.
Android: export: allows other programs to call.
Android: launchMode = "singleTop": A-> B. Then, press B. You cannot re-create onCreate. The last stack contains AAB.
Android: launchMode = "singleTask": A-> B-> A-> B. The last execution of B will not re-Execute onCreate. Instead, A is removed from the task stack, and the last stack contains element AB.
Android: launchMode = "singleInstance": A-> B-> A-> B. B is in A new job stack and has nothing to do with A. Finally, there are two job stacks, one is
AA, one is only B. (Which of the following values is returned first? Back And TaskID)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.