Introduction to Windows 8 Style application Development 30 Application Lifecycle Management

Source: Internet
Author: User

In Windows 8, you can start multiple applications and switch between them, and there is no need to worry about slowing down the system or consuming battery power. Because the system will automatically suspend (and sometimes terminate) applications that are running in the background. Well-designed applications can be suspended, terminated, and restarted by the system, and these processes appear to have been running for the application.

First, the principle

1. When the application is activated, the system sends the activated event for whatever reason

2. Whenever the user switches to the desktop or other applications, the system will suspend your application, the system sends the suspending event

3. Every time the user cut back to your application, the system will restore your application, the system will send the resuming event

Life cycle Change

When the user launches the application, what changes can the application take place in the lifecycle?

1. The application of the operation, can be suspended, become suspended application

2. Suspended applications that can be restored and turned into operational applications

3. Suspended applications, if the system is low in memory, will be directly killed

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.