Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
icefrost1
Posts: 71
Registered: ‎06-26-2009
My Device: Curve 8310
Accepted Solution

Intercept keypress while phone locked

Hi

 

I need to intercept keypresses on the keyboard from a background application while the phone is locked. Is there any way to do this? What classes should I be looking at, etc?

 

Regards

 

Lionel

 

 

Give kudos if somebody helps you, also mark accepted if it solves your problem. Search first, then post. Please respect RFC-1855 when posting on forums.

Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Intercept keypress while phone locked

This function is not provided in the Java API's.

 

 

 

Developer
icefrost1
Posts: 71
Registered: ‎06-26-2009
My Device: Curve 8310

Re: Intercept keypress while phone locked

Thanks,

 

I found an alternative solution for what I wanted to do, I actually wanted to do that to find out when the user unlocks the phone, but a GlobalEventListener proved to work for me.

 

Regards

 

Lionel

Give kudos if somebody helps you, also mark accepted if it solves your problem. Search first, then post. Please respect RFC-1855 when posting on forums.