Windows 8 Development 31-12th-Background task

Source: Internet
Author: User

 

12th-Background task:

Today we will discuss background tasks. To put it simply, the background task is:
A background task is the code that runs when the program is not running.

Consider the following scenarios:
When a user runs another program, the user continuously plays music.
Update user dynamic tile to reflect new data
A Toast notification pops up to tell the user that something important has occurred.
Update the user's lock screen when the device is locked

There are two steps to create and register a background task in the system. First, you must register a background task in the package. appxmanifest file. After registration, you also need to register the trigger event of the task to the system in the program code. When the background task ends, there are additional events for relevant management. This article involves the content mentioned above.

PDF:

12th-Background task

For more information, visit the following link:

Windows 8 development day 31

 

Some

 

 

 

 

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.