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

Native Development

Reply
Developer
Posts: 217
Registered: ‎09-18-2009
My Device: Z10
My Carrier: O2
Accepted Solution

Physical keyboard / Virtual keyboard

Is it possible to determine if the device has a physical keyboard or a virtual keyboard?

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Physical keyboard / Virtual keyboard

What's your reason for asking as even keyboard devices can invoke the virtual keyboard?


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Physical keyboard / Virtual keyboard

[ Edited ]

You can use HardwareInfo's isPhysicalKeyboardDevice...

 

http://developer.blackberry.com/native/reference/cascades/bb__device__hardwareinfo.html


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.