Talk:Confirming that the user wants to leave the app
Hamishwillee - Subedited/Reviewed
Thanks very much for posting this - glad I didn't have to twist that arm far!
I've subedited/reviewed, mostly to make it clear from the start that this is not something that is recommended, and it isn't something that is really possible. The material is all the same though - can you give it a quick check to see I didn't remove any meaning while shifting things around. .... and I hope you are happy with the changes.
One thing that might be worth changing is the name - may be to "Confirming app-exit is not supported on Windows Phone". Thoughts?
I'm away next week, but will check out your comments on my return.
talk) 09:16, 20 September 2013 (EEST)(
SB Dev -
There is a little bit of a mix up there - or at least I perceive it that way. It's leaving the App vs. closing the App. If you press the Back Button on the first page of an App it is actually closing the App (this is true also if your App supports Fast Resume). If you leave the App by e.g. following a link or using the Windows Button you are merely leaving it which regularly means it gets deactivated and perhaps later on tombstoned (navigation Apps might even keep running when being navigated away from).Therefore you at the moment have a possibility to completely block closing of an App using Navigation while you can't block the user from navigating away from it. Valid use cases might be if you e.g. have a navigation App to warn the user that live directions will be aborted when he closes the App vs. just backgrounding it.
talk) 12:57, 20 September 2013 (EEST)(
Chintandave er - Thanks and Sub-edited!
Hi Matt, Thanks for this articles. It is useful for developers who want include such functionality in their apps.
I have added screenshot from your blog showing confirmation.Chintan.
Chintandave er 12:11, 23 September 2013 (EEST)
Chintandave er - @Hamish: It's possible.
Hi Hamish. I think we can confirm to user on exit i.e while pressing back button is possible in Windows Phone. Many apps like Disney game using this feature and showing confirmation on exit. Though sometimes it does not look right as it feels annoying when it keep asking the confirmation and it also not recommended by Windows Phone UI guideline. Still I think it is useful feature in some cases.
Chintandave er 12:18, 23 September 2013 (EEST)
SB Dev -
Games are different anyway. If you start a game the guidelines say that a press of the back button has to pause the game and bring up the menu. Another press of the back button than has to go back to gameplay. Therefore you need a way to back out of a running game that is not the back button. Wether it's necessary to ask the user when backing out of the main menu (when no game is currently running is a different question).Basically there are use cases where it makes sense to override the back button behavior and ask for navigation but in most Apps it's not necessary and therefore discouraged.
talk) 12:15, 23 September 2013 (EEST)(
Chintandave er - @SB Dev: That's what I said.
That's what I said if you read it correctly. But if it is not encouraged that does not mean it is not possible. I have some app in my L920 which uses this feature. Games are actually an app only when its on Menu, navigation page. In game, confirmation coming on menu page only when user click on 'back' page not on other page But it is not good way. So it depends on the app's requirement or developer's thinking..
Chintandave er 12:26, 23 September 2013 (EEST)
SB Dev -
What I basically wanted to say is that Games to a certain degree have different definitions with regards to how they are supposed to work and several developers have failed certification by not adhereing to those. They simply aren't a terribly good example due to them being supposed to work differently in certain situations. Menus in most Games aren't pages at all but also done in DirectX/XNA but mostly adhere to the navigation concepts of pages.
For regular Apps Hamish made the case that you can't effectively block the user from closing them and so the feature should not be used at all. But it's not exactlly true as you can block actual closing down of the App using the described method but navigating away while conserving state will always be possible.I just wanted to clarify this as I believe we basically agree on the feature making sense in certain situations and that developer's should give some thought to it before using it.
talk) 12:41, 23 September 2013 (EEST)(
Chintandave er - @SB DevTrue SB Dev. I meant pages on games are app as looking at logically. I know its made in DirectX/XNA or other third party language. That's true that value of this feature is varies on certain use cases.
Chintandave er 13:20, 23 September 2013 (EEST)
Hamishwillee - Legitimate concernI think both games vs business ("normal") apps and clarification of leaving vs closing are legitimate points of confusion. I have updated introduction to address both of these. Please confirm that you're happy the confusion is now removed.
talk) 09:32, 3 October 2013 (EEST)(