Home > DeveloperSection > Forums > Windows Phone 7 and Back button Guidelines
Samuel Fernandes
Samuel Fernandes

Total Post:156

Points:1096
Posted on    April-07-2015 8:00 AM

 .NET Windows Phone 
Ratings:


 1 Reply(s)
 895  View(s)
Rate this:
I'm reading the following sumission requirement:

To maintain a consistent user experience, the Back button must only be used for backwards navigation in the application.

a. Pressing the Back button from the first screen of an application must exit the application.
b. Pressing the Back button must return the application to the previous page.
c. If the current page displays a context menu or a dialog, the pressing of the Back button must close the menu or dialog and cancel the backward navigation to the previous page.
d. For games, when the Back button is pressed during gameplay, the game can choose to present a pause context menu or dialog or navigate the user to the prior menu screen. Pressing the Back button again while in a paused context menu or dialog closes the menu or dialog.

My application require LogIn the first time, before entering its MainPage.
The login data will not be asked again (the user can change account from the settings).

I would like to avoid user entering again in the login page by using the backstack.
Pressing back from MainPage will exit the application.

In particular I'm worried about:
a. I show as a first screen the login page which will navigate to the mainpage, but I'm exiting the app with a back from the mainpage
b. I'm skipping a page, so pressing back is not strictly going to the previouspage

Do you think it will satisfy the certification requirements ?


Mayank Tripathi
Mayank Tripathi

Total Post:397

Points:3117
Supported
Posted on    April-07-2015 8:08 AM

This scenario is allowed, what you should do is:

upon entering the MainPage (OnNavigatedTo) - remove one page from the back stack:

NavigationService.RemoveBackEntry();

Don't want to miss updates? Please click the below button!

Follow MindStick