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 what happened to TopLevelNavigationService, it is not there on April CTP Refresh?

1 Answers  


Tell me is it possible to use custom pixel shader in xna?

0 Answers  


How to dismiss the SIP programmatically?

1 Answers  


Tell me can I open sockets in windows phone?

0 Answers  


What happened to toplevelnavigationservice, it is not there on april ctp refresh?

0 Answers  






Tell me can I turn article photos off?

1 Answers  


In the emulator, networkinterface.getisnetworkavailable() always return false?

0 Answers  


Explain about the windows phone?

0 Answers  


Explain how to play two mediaelements at once?

0 Answers  


Tell me where is httputility class, since there is no system.windows.browser namespace?

0 Answers  


Can we control the web browser controls zoom?

0 Answers  


Is it possible to run two instances of emulator on the same machine. I am doing some networking app and need two emulators to test it?

0 Answers  






Categories