Category Archives: tombstoning

what should I save to have a great Page navigation experience

I am already saving my data when I navigate across pages, but I hear I should save some of the view state (not just view model) to make it seamless to the user when a user comes back after tombstoning. … Continue reading

Share
Posted in tombstoning, wp7 | Leave a comment

detecting tombstone for pages

Yesterday, I  showed how to detect if the application was truly tombstoned (terminated) or deactivated without termination.  I also mentioned, “sometimes, this is not all you need”;  what context is missing (when the flag is not enough)? The answer relies … Continue reading

Share
Posted in tombstoning, wp7 | Leave a comment

detecting a tombstones

You mentioned not to use StartupMode to detect a tombstone, how should it be done? If you just want to detect if a tombstone happened,  simply set a flag in your App’s handler to Deactivated event.  If the value of … Continue reading

Share
Posted in tombstoning, wp7 | Leave a comment

PhoneApplicationService.StartupMode

I am trying to use PhoneApplicationService.Current.StartupMode to detect if my application is tombstoned, but it seems to not detect deactivations that don’t tombstone. What gives? You are right; currently StartupMode does not convey whether a deactivation lead to a true … Continue reading

Share
Posted in tombstoning, wp7 | 2 Comments

PhoneApplicationPage.State limitations

I am serializing data in my PhoneApplicationPage.State dictionary and I see ‘weird’ errors when I insert a lot of data. Is this a known issue? Yes. Page.State has weird ‘limitations’. I have not seen these documented to exact limits, and … Continue reading

Share
Posted in tombstoning, wp7 | Leave a comment