Android-life cycle of the application

Source: Internet
Author: User

Unlike other traditional application platforms, Android apps cannot control their own lifecycle. Instead, application components must be resilient to changes in application state and react appropriately, and in particular be prepared to be terminated at any time.

By default, each Android application runs through its own process, each running in a separate Dalvik instance. The memory and process management of each application is handled exclusively by the runtime.

By using the Android:process property within manifest for each application component node that receives an impact, you can either run the components of the same application in a different process or have multiple applications share the same process.

  Android actively manages its resources, and he takes any steps to ensure a stable and smooth user experience. This means that processes (and their applications) are sometimes terminated without warning, so that resources can be freed up for a high-priority application.

Android-life cycle of the application

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.