DeveloperLove
DeveloperLove

Reputation: 567

How to programatically send an application to background in Windows Phone

I am developing a Windows Phone8 application and the moment application is launched I am doing certain functionality. But after that immediately I want to send the application to background/Close the application.

Means I want to simulate the Back Key functionality from code. Is there any provision for this?

Upvotes: 1

Views: 594

Answers (1)

robertk
robertk

Reputation: 2461

No you can't force the user to close the app unexpectedly from your code. And don't go as far as throwing an unhandled exception and crashing the app, that's not very user-friendly.

Upvotes: 1

Related Questions