开发者

BlackBerry app that runs in background and intercepts all times a key is pressed?

开发者 https://www.devze.com 2023-04-06 10:06 出处:网络
I would like to create an application for my BlackBerry that intercepts every time I press a special key, like the \"End call\" button or \"lock screen\" button.I want it always running, and without a

I would like to create an application for my BlackBerry that intercepts every time I press a special key, like the "End call" button or "lock screen" button. I want it always running, and without a GUI.

开发者_运维知识库

Targeting OS 7.0 is ok, if necessary.

Could you please point me to the right direction? What classes should I look for?


BlackBerry apps that are in the background can't listen for key presses. They can still register listeners that will be called during certain system events (screen locking, incoming call, for example). As far as just flat out being sent key strokes, it's not something they have any sort of API for.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号