virtualkeyboard_show()

Display the virtual keyboard.

Synopsis:

#include <bps/virtualkeyboard.h>
 
BPS_API void virtualkeyboard_show()

Since:

BlackBerry 10.0.0

Arguments:

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The virtualkeyboard_show() function causes the virtual keyboard to be displayed (if it is not already visible). When this function is called, the VIRTUALKEYBOARD_EVENT_VISIBLE event is sent unless the virtual keyboard was already visible.

When the device is connected to a keyboard (e.g., via Bluetooth), the virtual keyboard will not be shown unless the user swipes up with two fingers from the bottom bezel. This also applies to the simulator, which interprets the PC keyboard as being connected to the virtual device.

Devices that have a built-in keyboard do not support the use of the virtual keyboard. The virtual keyboard can't be displayed on such devices.

Returns:

Nothing.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus