Windows Phone 7的物理按键超载 [英] Windows Phone 7 Physical Button Overloading

查看:85
本文介绍了Windows Phone 7的物理按键超载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时有可能得到的任何通过手机的物理按键引发的事件的访问?特别是音量按钮。在任何方向一推将是巨大的与此有关。

Is it possible to get access to any of the events raised by the phone's physical buttons? Specifically the volume buttons. A push in any direction would be great with this.

推荐答案

只有后退按钮,即使如此,你做的事情的能力受到严重限制。修改任何这些按钮(允许修改后退按钮外)的行为将导致您的应用程序从认证被拒绝。

Only the Back button, and even then your ability to do things is severely limited. Modifying the behavior of any of these buttons (outside of the allowed modifications to the Back button) will cause your app to be rejected from certification.

下面是个什么WP7 < A HREF =htt​​p://go.microsoft.com/fwlink/?LinkID=183218> UI设计和交互指南说:

Here is what the WP7 UI Design and Interaction Guidelines say:


  • 开发的有机会修改开始按钮的行为......皮克。 107

  • 开发的不能修改或修改搜索按钮的行为。皮克。 109

  • 开发商只应贯彻返回按钮的导航回或者解聘上下文菜单或模式对话框的行为。所有其他的实现是禁止的。页。 111

  • 开发的不要有机会修改电源按钮的行为......皮克。 113

  • 开发的不能编辑音频传输控制覆盖或覆盖在音量按钮的行为。皮克。 115

  • 开发的不能修改或改变的拍照键的行为。皮克。 117

  • "Developers do not have access to modify the Start button behavior..." pg. 107
  • "Developers cannot modify or change the behavior of the Search Button." pg. 109
  • "Developers should only implement Back Button behaviors that navigate back or dismiss context menus or modal dialog boxes. All other implementations are prohibited." p. 111
  • "Developers do not have access to modify the Power button behavior..." pg. 113
  • "Developers cannot edit the audio transport controls overlay or override the Volume Buttons behaviors." pg. 115
  • "Developers cannot modify or change the behavior of the Camera Button." pg. 117

这篇关于Windows Phone 7的物理按键超载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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