How to restart or shutdown my application programmatically?

Answer Posted / diana

There is no API to do this. Hitting ‘back’ when there is only one page left on the stack is the way to exit the application. Hitting Start button does not exit, just pauses it

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I reorder the tabs?

584


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

520


Is it possible to use custom pixel shader in xna?

470


Tell me can I open sockets in windows phone?

514


Suppose my site is down, and async calls are taking too long to timeout. How can I set a reasonable timeout?

484






Where is httputility class, since there is no system.windows.browser namespace?

598


How to access the liveid credentials a user has entered into the device?

612


How to manage my isolated storage quota?

547


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

534


Explain how to sniff network traffic from the emulator?

480


Some images look different when synced to the device and read programmatically. Do decoders change these?

539


Explain how to play two mediaelements at once?

532


How to show the sip keyboard in xna app?

518


Is it temporary that the control styles are included in app.xaml?

498


Tell me are there canned mvvm "data behaviors" planned for wp7?

499