如何在Windows Phone 8上接收硬件按键事件? [英] How can i receive the hardware key button event On Windows phone 8?
问题描述
如何在Windows Phone 8 App上接收硬件按键事件?
我有很多问题,
WP 8的可用功能非常有限.
Windows CE/WM的行为是非常不同的.
I have many problem,
The WP 8 is available features are very limited.
The Windows CE / WM is a very different behavior.
我想通过API(功能)访问OS层
-
返回按钮:成功.我发现了这个关键事件.
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密钥(条形码密钥):按下按钮,我要执行我的应用程序"吗?
OEM Key (Barcode Key) : Push the button, I want to execute the My App?
[附加]
对不起.我的项目信息很少. 我在WP设备OEM制造商中开发了WP8 App. 因此,我可以访问操作系统,设备驱动程序,应用程序". 但是有各种各样的MS文档,到第一次,开发就太困难了.
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.
您曾经使用过这些方法吗? -命名事件 -SendMessage/PostMessage -其他交流
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"
我现在正在研究以下功能. -服务代理 -IPC
I am studying now the following Function. - Service Agent - IPC
推荐答案
根据设计,您无法访问其中的大多数按钮.通过不允许应用程序访问,这意味着最终用户对标准平台具有一致的体验.
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.
这并不是说作为OEM,Microsoft不会提供标准商店"应用程序不具备的其他访问权限.但是,这种类型的访问通常受到保密声明的保护.
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.
这篇关于如何在Windows Phone 8上接收硬件按键事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!