Galawana Studio » tag » Theory

Windows Phone 7 : Application Life Cycle

Given that “there can be only one” application running at a ones time, it makes creating multitasking on mobile device can be a real hard-ass, the problems is  there are many ways the user can enter and exit the software. Navigating through application is something that exists also across the applications and when the user navigates he can enter the previous application if he follows the back button stack. Also, there can be a number of events that can impact the life cycle of the program. You have also to be aware that there is actions that suspend the software and other actions that simply close it definitively.  For example when user is playing a game on her/his phone when suddenly there is incoming call to her/his phone, higher priority of incoming call make the games halt for a while, but when user has ended with the call, they want to continue the game from the last time he/she was playing it, instead restart the game from begining.

Execution Model on windows phone has a complete cycle for us to manage application state. This execution model is designed to provide user with fast and responsive experiences every time user use the application. there are some term we must know before we learn about Application execution model of windows phone.

1. Tombstoning, a procedure where windows phone operating system will deactivate apps when user trigger close event or other higher priority application/service like Incoming Call make a request to start. Operating System will save state of Apps when it’s deactivated, and will be used when user restarting the application.

read more