Chapter 9. App Events and States

The goal of this chapter is to explain Windows Store app events, lifecycle, and view states. In the first part, I explain the standard sequence of events which are raised whenever you start a Windows Store app. You learn how to handle the loaded, activated, and ready events.

In the next part, I explain how you can handle application suspension, termination, and resumption. You learn how to store and retrieve the state of your application in session state so you can maintain the illusion that your app is always running.

Finally, I discuss application view states. You learn how to switch among snapped, filled, ...

Get Windows® 8 Apps with HTML5 and JavaScript Unleashed now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.