Part 21: Lifetime Management: Saving and Restoring State

Download

Right click “Save as…”

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 

Tags:

Follow 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.