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
Posts: 112
Registered: ‎04-28-2010
My Device: 8520
My Carrier: AirTel

listen when keypad lock or unlock

hi blackberrians

 

Is there any way to get keypad lock or unlock event?

Thanks & Regards

Dinesh Aggarwal

Highlighted
Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: listen when keypad lock or unlock

Hello Dinesh,

 

Checkout RexDoug's recommendations here:

http://supportforums.blackberry.com/t5/Java-Development/Detecting-Device-Lock-state/m-p/57825/highli...

 

There is an approach for getting it at a specific point in time as well as listening for state changes.

 

Erik Oros

BlackBerry Development Advisor

 


Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Developer
Posts: 112
Registered: ‎04-28-2010
My Device: 8520
My Carrier: AirTel

Re: listen when keypad lock or unlock

hello oros,
thanks for suggetion, it is really useful for me.

Thanks & Regards,
Dinesh Aggarwal