For Microsoft Kool-Aid Drinkers, Non-paid MS Evangelists written by a Senior Consultant, Passionate about Tech

All posts tagged Fast App Resume

WinPhoAppLifecycleWindows Phone 8 allows users to open an application in various ways.  Obviously, you can open an application from a tile on your Start Screen or by selecting the icon from your application list. However, Windows Phone 8 will also put your application into a suspended state when you navigate away from it.  If you want to go back to your application you can either hit the back button or use the Task Switcher.  Since Windows Phone 8 will suspend your application into memory, when it loads back up, you get right back to the state you were in when you left.  Nice right?

Well, there is a gotcha.  When you navigate away from your application, and then go to open it back up using the Start Screen or application list, it will terminate the suspended application and start a new instance of your application, hence, loosing the state the application was in when you navigated away.  Not really what the user is expecting.  Bummer huh?

Guess, what?  There is a solution.  In Windows Phone 8, there is a new feature called Fast Resume.  This feature will tell the OS to resume the application if it is suspended, otherwise, open a new one.  The best part is that this feature is really easy to turn on, and very little effort is necessary to support it in your code.

Let’s take a look.

Read more