The following forum(s) have migrated to Microsoft Q&A (Preview): Developing Universal Windows apps!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

 locked
Exit Application Issue on Windows Phone 8 RRS feed

  • Question


  • We have developed our application for Windows Phone 8 on HTML5 and tested app on Nokia Lumia 625. 

    Issue: When we launch the app the HOME Screen (1st screen) appears, and we press the back button it exits the app on our phone successfully, BUT Windows Store has rejected our application just because of this issue.

    We have used following code: 

    1- Capture Back button event:
    document.addEventListener("backbutton", onBackKeyDown, false);

    2- onBackKeyDown FUNCTON 
    If HomeScreen
    c# plugin code: Application.Current.Terminate();      // <------ Is this code line runs properly on all phones?
    else
    GotoLastScreen();


    W I N D O W S  P H O N E  C O M M E N T S  & T H E I R  P H O N E S 
    --------------------------------------------

    Windows Store comments: Pressing the device Back button from the first screen of the application does not close the application. Instead, the
    application does not respond.

    Windows Phones Tested:
    HTC 8X (PM23300), Nokia Lumia 1520, Nokia Lumia 620

    Monday, March 17, 2014 12:28 PM

All replies