CHAPTER 5

image

Life-Cycle Events

In this, the final chapter in this book, I show you how to take control of the Windows 8 app life cycle by responding to key Windows events. I show you how to replace code that Visual Studio adds to projects, how to properly deal with your app being suspended and resumed, and how to implement contracts that tie your app into the wider user experience that Windows 8 offers. Along the way, I’ll demonstrate the use of the geolocation feature and show you how to set up and manage a recurring asynchronous task. Table 5-1 provides the summary for this chapter.

Table 5-1. Chapter Summary

Problem Solution Listing

Get Windows 8 Apps Revealed: Using HTML5 and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.