Cloud Training (Online)

How to find if the Application is returning from Dormant or Tombstoned State in WP7?

In Windows Phone Mango, when the App is deactivated, it puts the App into the dormant state.

This state provides the Fast Switching support where the App is still in memory…

When the App returns from the dormant state, the Activated Event is triggered.

The ActivatedEventArgs argument of the Activated Event provides a property called ApplicationInstancePreserved to determine of the App is returning from Dormant or Tombstoned state .

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.