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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Contributor
tuyennguyencanada
Posts: 41
Registered: ‎07-28-2010
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

Please use plain text.
Administrator
MSohm
Posts: 13,066
Registered: ‎07-09-2008
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.
Found a bug? Report it using the Issue Tracker
Please use plain text.