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

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

88


is there an api for retrieving information on the files located in the store? I am looking to check when it was last written?

79


Does the web browser control share the ie cache?

45


Is securestring supported in windows phone?

70


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

106






explain the best way to detect that I am in design-mode in expression blend or visual studio?

78


Suppose I am trying to receive toast notifications in emulator app. I got everything setup but notification does not show up in emulator at all?

76


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

79


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

45


Explain how to identify a device or a user?

48


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

56


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

81


Explain how to sniff network traffic from the emulator?

47


Explain how to detect the resolution of my device?

59


Explain how to manage my isolated storage quota?

42