Windows 8 Background Processing and Lifecycle Management
This course explores the new way Windows 8 Store apps execute on a system, and the new challenges faced by developers. Topics covered include managing the state of the application and an exploration of the different types of background processing that are possible in Windows 8, including a look at how to perform downloads in the background, and how to create applications that are capable of playing audio while they're not in the foreground.
Authored by:
Gill Cleeren
Duration: 3h 25m
Level: Intermediate
Released: 12/18/2012
Features:
Duration: 3h 25m
Level: Intermediate
Released: 12/18/2012
Features:
Course Rating:
You are currently not signed in. Please sign in to access subscriber-only content.
Currently using: {{getCurrentPlayerName()}} [Change]
| expand all | collapse all | Progress | Duration | |
|---|---|---|---|
Course overview |
|
00:04:39 | |
|
Course outline
|
|
04:39 | |
The Windows 8 Process Lifecycle and State Management |
|
01:08:49 | |
|
Overview
|
|
02:14 | |
|
Windows 8 Process Lifecycle
|
|
09:53 | |
|
Demo: Process Lifecycle
|
|
01:27 | |
|
Application events
|
|
05:51 | |
|
Demo: Adding the application events
|
|
06:36 | |
|
Launching and activation
|
|
04:25 | |
|
Demo: Launching and activation
|
|
02:20 | |
|
State management using LocalSettings and LocalFolder
|
|
05:32 | |
|
Demo: LocalSettings
|
|
08:34 | |
|
State management using RoamingSettings and RoamingFolder
|
|
01:52 | |
|
Demo: RoamingSettings
|
|
01:21 | |
|
SuspensionManager
|
|
01:42 | |
|
Demo: SuspensionManager
|
|
05:18 | |
|
Push Notifications
|
|
05:40 | |
|
Demo: Push Notifications
|
|
05:12 | |
|
Summary
|
|
00:52 | |
Performing work in the background in Windows 8 |
|
00:47:10 | |
|
Overview
|
|
02:23 | |
|
Background processing 101
|
|
11:55 | |
|
Demo: Building a background task
|
|
05:12 | |
|
Debugging a background task
|
|
00:34 | |
|
Demo: Debugging a background task
|
|
01:14 | |
|
Manifest changes
|
|
02:30 | |
|
Demo: Manifest changes
|
|
01:35 | |
|
The BackgroundTaskDeferral
|
|
01:29 | |
|
Demo: Async work using the BackgroundTaskDeferral
|
|
02:52 | |
|
The Maintenance Trigger
|
|
01:01 | |
|
Demo: Maintenance Trigger
|
|
02:02 | |
|
Background Task Progress and Completion
|
|
02:53 | |
|
Demo: Background Task events
|
|
01:51 | |
|
Suspending and termination
|
|
01:12 | |
|
Demo: Re-registering task events
|
|
01:32 | |
|
Where does my background task run?
|
|
01:29 | |
|
Demo: Sharing data between the foreground app and background task
|
|
01:38 | |
|
Constraints
|
|
02:49 | |
|
Summary
|
|
00:59 | |
Lock screen apps |
|
00:50:32 | |
|
Overview
|
|
01:17 | |
|
Lock-screen apps
|
|
05:36 | |
|
Demo: Managing the lock screen
|
|
01:24 | |
|
Becoming a lock screen app
|
|
02:00 | |
|
Demo: Becoming a lock screen app
|
|
04:14 | |
|
Demo: Sending a local lock screen badge update
|
|
02:12 | |
|
Demo: Sending a local lock screen tile update
|
|
02:01 | |
|
WNS
|
|
03:42 | |
|
Demo: Creating a lock screen app with Raw Push Notifications
|
|
02:04 | |
|
Pushing raw Notifications
|
|
00:52 | |
|
Demo: Sending raw notifications to the client
|
|
01:38 | |
|
Executing code
|
|
00:41 | |
|
Demo: Working with the incoming value
|
|
02:20 | |
|
Demo: Updating the badge on the lock screen
|
|
01:00 | |
|
Demo: Displaying a toast on the lock screen
|
|
00:39 | |
|
Network trigger
|
|
02:00 | |
|
Demo: Creating the control channel trigger
|
|
07:06 | |
|
Keep-alive trigger
|
|
00:49 | |
|
Demo: Creating the keep-alive trigger
|
|
00:50 | |
|
Executing code
|
|
00:34 | |
|
Demo: Creating the control channel task
|
|
01:24 | |
|
Demo: Creating the keep-alive task
|
|
00:44 | |
|
Manifest registration
|
|
00:41 | |
|
Demo: Manifest changes
|
|
00:42 | |
|
Time trigger
|
|
00:55 | |
|
Demo: Executing a background task based on a Time Trigger
|
|
02:06 | |
|
Summary
|
|
01:01 | |
Uploading and downloading files in the background |
|
00:21:27 | |
|
Overview
|
|
01:10 | |
|
Background transfers
|
|
02:45 | |
|
Demo: Downloading in a separate process
|
|
01:07 | |
|
Downloading a file
|
|
01:03 | |
|
Demo: Downloading a file
|
|
02:26 | |
|
Cancelling a download
|
|
00:52 | |
|
Demo: Cancelling a download
|
|
01:35 | |
|
Progress reporting
|
|
01:29 | |
|
Demo: Reporting transfer progress
|
|
01:20 | |
|
Process lifecycle implications
|
|
01:20 | |
|
Demo: Process lifecycle implications
|
|
01:39 | |
|
Uploading a file
|
|
00:56 | |
|
Demo: Uploading a file
|
|
01:39 | |
|
Demo: Uploading multiple files using the BackgroundTransferContentPart class
|
|
01:30 | |
|
Summary
|
|
00:36 | |
Playing audio in the background |
|
00:12:28 | |
|
Overview
|
|
00:49 | |
|
Playing audio
|
|
03:47 | |
|
Demo: Creating a background-capable media player
|
|
03:49 | |
|
SoundLevel notifications
|
|
01:03 | |
|
Demo: SoundLevel notifications
|
|
02:14 | |
|
Summary
|
|
00:46 |
Course overview