APP Lifecycle (UWP deep learning one)

Source: Internet
Author: User

Launching, resuming, and background tasks:https://msdn.microsoft.com/en-us/library/windows/apps/mt227652.aspx

APP lifecycle:https://msdn.microsoft.com/en-us/library/windows/apps/mt243287.aspx

When the app is in the notrunning state and the user clicks the app tile on the Start screen or app list, the app launches. The application may be in a notrunning state because it has never started, failed after it was run, or it could not remain in memory after it was paused and was terminated by the system. Startup is different from activation. Activation refers to activating your app through a contract or extension, such as a search contract.

The OnLaunched method is called when the app is launched, including when the app is currently paused in memory. The Launchactivatedeventargs parameter contains the status and activation parameters of your app.

Handle app Prelaunch:https://msdn.microsoft.com/en-us/library/windows/apps/mt593297.aspx

Handle app Activation:https://msdn.microsoft.com/en-us/library/windows/apps/mt574274.aspx

Handle app Suspend:https://msdn.microsoft.com/en-us/library/windows/apps/mt574277.aspx

Handle app Resume:https://msdn.microsoft.com/en-us/library/windows/apps/mt574276.aspx

 

Support your app with background tasks:https://msdn.microsoft.com/en-us/library/windows/apps/mt299103.aspx

Guidelines for background tasks:https://msdn.microsoft.com/en-us/library/windows/apps/mt187310.aspx

Create and register a background task:https://msdn.microsoft.com/en-us/library/windows/apps/mt299100.aspx

APP Lifecycle (UWP deep learning one)

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.