How can i receive the hardware key button event On Windows phone 8?

半腔热情 提交于 2019-12-13 19:25:16

问题


How can i receive the hardware key button event On Windows phone 8 App?

I have many problem,
The WP 8 is available features are very limited. The Windows CE / WM is a very different behavior.

I want to access the OS Layer by the API (Function)

  • Back button : Success. I found this key event.

  • Home button : ??? (I don't know)

  • Search button : ??? (I don't know)

  • Volume Up / Down : Just working volume.

  • Camera Key : Can i change the default camera app?

    http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202963(v=vs.105).aspx

  • Power Key : Can i optionally lock the power key?

  • OEM Key (Barcode Key) : Push the button, I want to execute the My App?

[Additional]

Sorry. My Project information was too little provided. I developed the WP8 App in the WP Device OEM Manufacturers. So I can access to "OS, Device Driver, App". But there are various MS documents, By First Time, The developement is too hard.

Have you ever used these methods can I? - Named Event - SendMessage / PostMessage - Other Communication

I guess the Key-Point "How can i communicate Device driver <-> App"

I am studying now the following Function. - Service Agent - IPC


回答1:


You cannot access the majority of those buttons, by design. By not allowing applications access, it means the end user has a consistent experience with the standard platform.

You can create a new "lens" to act as a replacement for the default camera application.

That's not to say though as an OEM, that Microsoft would not provide additional access that is not available to a standard "Store" application. That type of access is often protected by a non-disclosure statement however.



来源:https://stackoverflow.com/questions/22268725/how-can-i-receive-the-hardware-key-button-event-on-windows-phone-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!