locked
What does the Windows hardware button actually do? RRS feed

  • Question

  • I assumed it would background the application and suspend it, but on Windows 8.1 it doesn't appear to be suspending my app.  If I use the "kill" swipe (top to bottom) then the app suspends as it should.  Is there a different event that happens when the user presses the home button?  I'd like to shut down my network broadcasting and listening when the app is not in the foreground.
    Friday, November 15, 2013 4:28 AM

Answers

  • The Windows button doesn't directly control the app. It will bring up the start screen, which doesn't force the app to suspend. The app will go to the background and suspend if the user chooses to switch to another app.

    Your app should handle the suspension and resuming events.

    --Rob

    • Marked as answer by Jim Borden Friday, November 15, 2013 4:43 AM
    Friday, November 15, 2013 4:40 AM
    Moderator

All replies

  • The Windows button doesn't directly control the app. It will bring up the start screen, which doesn't force the app to suspend. The app will go to the background and suspend if the user chooses to switch to another app.

    Your app should handle the suspension and resuming events.

    --Rob

    • Marked as answer by Jim Borden Friday, November 15, 2013 4:43 AM
    Friday, November 15, 2013 4:40 AM
    Moderator
  • Thank you!  I've confirmed this behavior and I'm glad to know that it isn't just me missing something.
    Friday, November 15, 2013 4:45 AM