Windows Phone 7 Physical Button Overloading

前端 未结 1 515
灰色年华
灰色年华 2021-01-17 17:45

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.

相关标签:
1条回答
  • 2021-01-17 18:45

    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.

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

    • "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
    0 讨论(0)
提交回复
热议问题