Android Thread Priority

Source: Internet
Author: User
1, the process according to the priority level divided into different levels Fvsbe

1.1 Foreground Process: User can see an activity interface in the process (can get focus)

1.2 Visible Process: The user is still visible to this process, but cannot be manipulated

1.3 Service Process: If a process has a service running in the background

1.4 Background Process Daemon: An activity is not visible now, but runs in the background

1.5 Empty process: No process exists for any active component

Low memory will turn off the 5/4/3 in turn, will be re-opened when the memory is 3

2. Important priority: Foreground process > Visual process > Service process > Background process > Empty process

The Android system will keep the application's processes as consistent as possible, even after the app exits ... However, if you find that the memory is not enough, to start a new process, it will follow the priority order of the process to kill some of the old process

Android Thread Priority

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.