Get a Life
If your application were the only one available on a phone, your life as a developer would be much easier. Not so much for the user, however. Users want to equip their phones with a variety of apps. They want to be able to start yours, switch to another, come back to yours, switch away again, and then shut down the phone, treating the application lifecycle with happy abandon.
To make sure your applications behave appropriately in this environment, you must be able to deal with any change that might occur in its state. In this chapter, you will learn what the stages are in the lifecycle of a Windows Phone application and how ...