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

Tell me can I open sockets in windows phone?

0 Answers  


What content can I share/save?

1 Answers  


Explain how to save screen from an xna app?

0 Answers  


Do you know will Microsoft ship a panorama control with the run-time?

0 Answers  


Explain how the volume work between apps and hardware buttons on the device?

0 Answers  






Can I get weather for my location?

0 Answers  


Explain how to sniff network traffic from the emulator?

0 Answers  


Explain does the web browser control share the ie cache?

0 Answers  


Explain how to pin an app on the emulator?

0 Answers  


Is wcf supported in windows phone?

0 Answers  


How to enable/disable alerts?

1 Answers  


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

0 Answers  






Categories