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