Part 21: Lifetime Management: Saving and Restoring State

Download this episode

Download Video

Download captions

Download Captions

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

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

 

App activate and suspend using WinJS sample

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

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.