How to detect if my application is exiting so I can save state?



How to detect if my application is exiting so I can save state?..

Answer / diana

You can listen to Application.Exit, but this might be too late most of the time. You should listen for the Pause event and save your state there.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Windows Phone OS Interview Questions

Suppose I am trying to detect if an external headset is attached to the phone, can I use microsoft.xna.framework.audio.microphone.isheadset?

0 Answers  


What is windows phone media support?

0 Answers  


Tell me What are the supported codecs for video?

1 Answers  


Explain Windows Phone Multitasking?

1 Answers  


Will texttrimming property be available on textblock?

0 Answers  






What is windows phone bluetooth?

0 Answers  


Explain how to deserialize json from a rest call?

0 Answers  


On april ctp refresh, splashscreen appears for 3 seconds and disappears (even if my page is not fully loaded)?

0 Answers  


What is the latest version of windows?

0 Answers  


How to manage my isolated storage quota?

0 Answers  


Explain how to pin an app on the emulator?

0 Answers  


Is there any internal page notification that it receives to detect a phone call?

0 Answers  


Categories