围绕 Windows Phone 8 后退按钮的炒作是什么? [英] What is the hype around the Windows Phone 8 back button?

查看:19
本文介绍了围绕 Windows Phone 8 后退按钮的炒作是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道如何实现后退按钮.我的问题是关于所需的行为(正如我所经历的那样,周围有一种炒作,即在商店中销售应用程序需要良好的后退按钮实现).

I know how to implement the back button. My question is about the desired behaviour (as I experienced there is a hype around it that the good implementation of back button is required to sell the app in the store).

有官方出处:http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402536(v=vs.105).aspx#BKMK_BackButton

但我从来没有使用 WP8 超过 5 分钟.我知道Windows"按钮/键与 android home 和 ios home 按钮相同.是真的,WP8 后背应该和 android 后背一样吗?(简要地浏览页面(屏幕/活动),关闭警报或取消确认弹出窗口,或者如果它是第一个/唯一/最后一个页面/活动,应用程序应该退出.)

But I have never used a WP8 for more than 5 minutes. I understood that the "Windows" button/key is the same as android home and ios home buttons. Is it true, that the WP8 back should be the same as the android back? (Briefly navigate back through pages (screens/activities), dismiss alerts or cancel confirm popups, or if it is the first/only/final page/activity, the app should exit.)

根据我的经验,有一个长按后退按钮,它会调出应用切换器(~ios double home).我真的不应该关心这个按钮吗?其余按钮的默认行为是否相同(窗口、关闭电源、相机(半和全)、搜索)?我应该覆盖它们吗?我可以覆盖它们吗(我想我可以使用相机,但我可以将音量控制用于其他目的)?

As I experienced, there is a long-press on the back button, which brings up the app switcher (~ios double home). Is it true that I should not take care about of this button? Is the default behavoiur the same for the remaining buttons (windows, power off, camera (half and full), search)? Should I override them? Can I override them (I think I can use camera, but can I use volume controls for other purposes)?

推荐答案

认证要求 列出了后退按钮应该做得很好的内容.简而言之,这听起来像您描述的 Android 后退按钮 - 以下是相关要求:

The certification requirements lay out what the back button should do pretty well. In short, it sounds like how you described the Android back button - here are the relevant requirements:

(5.2.4.1) 按下返回按钮必须将应用返回到上一页或返回到返回堆栈中的任何前一页.

(5.2.4.1) Pressing the Back button must return the app to the previous page or return to any previous page within the back stack.

(5.2.4.2) 从应用程序的第一个屏幕按下返回按钮必须关闭应用程序.

(5.2.4.2) Pressing the Back button from the first screen of an app must close the app.

(5.2.4.3) 如果当前页面显示上下文菜单或对话框,按下后退按钮必须关闭菜单或对话框,并将用户返回到打开上下文菜单或对话框的屏幕.

(5.2.4.3) If the current page displays a context menu or a dialog, the pressing of the Back button must close the menu or dialog and return the user to the screen where the context menu or dialog box was opened.

您不必处理触发长按,也不需要专门处理导航(假设您使用 NavigationService 进行页面导航.)

You don't have to handle triggering the long-press, nor do you need to handle navigation specifically (assuming you're using the NavigationService for page navigation.)

你绝对可以覆盖相机按钮,但搜索、电源和音量不受限制.

You can definitely override the camera button, but search, power, and volume are off limits.

这篇关于围绕 Windows Phone 8 后退按钮的炒作是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆