My department is currently using a WP 7 emulator and when the hardware back button is pressed, the default behavior is to close the current application. We're looking to override this so it will go back to the previous page in the app. This is what we've come up with so far:
protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
// do some stuff ...
// cancel the navigation
e.Cancel = true;
But it's still not working the way we want. What else should we do here? Thanks!