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 tried two separate web cams in the emulator and both give com errors, any clue on getting this to work?

0 Answers  


where is the best recommended place to store both static and user-specified configuration information?

0 Answers  


Explain about windows phone bluetooth?

0 Answers  


Can I write multi-player games using wi-fi or blue tooth in the device.?

0 Answers  


Tell me can I turn article photos off?

1 Answers  






What is windows phone user interface?

0 Answers  


Are there canned mvvm "data behaviors" planned for wp7?

0 Answers  


What is windows phone web browser?

0 Answers  


Explain how to restart or shutdown my application programmatically?

0 Answers  


How to show the sip keyboard in xna app?

0 Answers  


Can I open sockets in windows phone?

0 Answers  


How to sniff network traffic from the emulator?

0 Answers  






Categories