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

Native Development

Reply
Regular Contributor
step_jac
Posts: 77
Registered: ‎05-31-2012
My Carrier: Bell
Accepted Solution

Showing virtual keyboard while Bluetooth keyboard is connected.

Hello BB NDK Forums,

 

It seems as though calling virtualkeyboard_show() while a physical keyboard is paired causes the virtual keyboard not to appear. A diagonal swipe from the bottom left does however cause it to appear even with a physical keyboard connected. Is there a way to "force" show virtual keyboard programatically in this situation?

 

Thanks!

 

Stephane

Please use plain text.
Developer
BGmot
Posts: 966
Registered: ‎11-24-2011
My Carrier: x

Re: Showing virtual keyboard while Bluetooth keyboard is connected.

If it's QT app then you might try to send QEvent::RequestSoftwareInputPanel event to your main window.

Please use plain text.
Regular Contributor
step_jac
Posts: 77
Registered: ‎05-31-2012
My Carrier: Bell

Re: Showing virtual keyboard while Bluetooth keyboard is connected.

Thanks BGMot,

 

This is a custom NDK app, so no access to QT. We may need to fall back on some user interaction prompting him/her to do the bottom left swipe motion.

Please use plain text.
BlackBerry Development Advisor
mgoulet
Posts: 329
Registered: ‎05-07-2012
My Carrier: N/A

Re: Showing virtual keyboard while Bluetooth keyboard is connected.

Hi,

 

By design, if a physical keyboard is paired to your device the virtual one will not show by default;

If you would like to change this behaviour, you can log a feature request describing a specific use case;

https://www.blackberry.com/jira/secure/Dashboard.jspa

 

Cheers,

 

Martin

 

 

 

Please use plain text.
Regular Contributor
step_jac
Posts: 77
Registered: ‎05-31-2012
My Carrier: Bell

Re: Showing virtual keyboard while Bluetooth keyboard is connected.

Hi Martin,

 

This makes sense design wise. The user can manually for show the KB while a bluetooth KB is connected with a bottom left to center swipe. We've updated our flow to force that process. (this is an unusual use case). I'll log it as a request,.

 

Thanks!

 

Stephane

Please use plain text.