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
Highlighted
Contributor
Posts: 41
Registered: ‎07-28-2010
My Device: Not Specified
Accepted Solution

BlackBerry Torch - Virtual keyboard, physical keyboard

1 - Do you know how to display virtual keyboard programmatically  in BlackBerry Torch, whether the physical keyboard is disclosed or not?

 

2- How to detect whether BlackBerry Torch physical keyboard is disclosed or not? 

 

Thanks

BlackBerry Development Advisor
Posts: 15,882
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: BlackBerry Torch - Virtual keyboard, physical keyboard

The VirtualKeyboard class can be used to control the display of the virtual keyboard.  The Sensor class can be used to poll the status of the sliding keyboard.  The SensorListener interface can be used to get notifications when the keyboard is slide in or out.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.