Windows Phone 7 Physical Button Overloading
Is it possible t开发者_Go百科o 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.
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
精彩评论