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
drPetr007
Posts: 48
Registered: ‎10-11-2012
My Device: Z10
My Carrier: none

How to switch keyboard to symbol keyboard ?

Hi,

 

I know, that default keyboard can be switched into symbol mode just in on click on "?123" virtual button. But  can this be made in code ? programmatically?

Please use plain text.
Developer
BBSJdev
Posts: 6,094
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: How to switch keyboard to symbol keyboard ?

Try the virtualkeyboard_change_options() function with layout 5 (VIRTUALKEYBOARD_LAYOUT_SYMBOL)...

 

http://developer.blackberry.com/native/reference/core/com.qnx.doc.bps.lib_ref/topic/virtualkeyboard_...

 

http://developer.blackberry.com/native/reference/core/com.qnx.doc.bps.lib_ref/topic/virtualkeyboard_...


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

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
drPetr007
Posts: 48
Registered: ‎10-11-2012
My Device: Z10
My Carrier: none

Re: How to switch keyboard to symbol keyboard ?

Unfortunately, this is not the solution, because VIRTUALKEYBOARD_LAYOUT_SYMBOL changes whole keyboard layout, but I need the same effect as pressing on "?123" so user can change layout back by pressing "ABC".

Maybe there is some way to emulate clicking on the virtual keyboard button ?
Please use plain text.