I am currently working on a project developing a Windows 8.1 app using HTML5 and Javascript (Silverlight). I have encountered an issue with implementing the functionality for the hardware back button.
Within the MainPage.xaml.cs Codebehind file, I need to trigger a javascript function from the following method:
protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
{
// Need to call a javascript function here
}