Part 21: Lifetime Management: Saving and Restoring State

Sign in to queue

Description

In this lesson, Bob explains how Windows 8 manages the resources of the computer in regards to our apps. We learn how to respond to Suspend notifications from Windows 8 so that we can store state or data information and restore it when the app is re-launched.

 

ApplicationExecutionState enumeration

https://msdn.microsoft.com/en-us/library/windows/apps/windows.appmodel.activation.appexecutionstate

 

App activate and suspend using WinJS sample

https://code.msdn.microsoft.com/windowsapps/App-activation-events-and-d39c53d5 

Embed

Download

The Discussion

Add Your 2 Cents