Virtual keyboard layouts

There are several different keyboard layouts available for the BlackBerry 10 devices, giving you the flexibility to choose the layout that works best with your application. The English version of each keyboard layout is shown below. Each language has its own version of these layouts, so you don't need to do anything programatically to show a different language keyboard. When the user selects a different language, the correct keyboard layout for that language appears.

In each example, a different text option is shown for the Enter key. To change to a different keyboard layout or modify the text on the Enter key, call the function virtualkeyboard_change_options() and specify the appropriate values for the layout and enter arguments. If the selected text option is too long to be displayed on the Enter key, then the default return symbol (The Enter key) will be displayed instead.

The default keyboard layout (corresponding to the VIRTUALKEYBOARD_LAYOUT_DEFAULT member of the virtualkeyboard_layout_t enumeration set), with the default Enter key (corresponding to the VIRTUALKEYBOARD_ENTER_DEFAULT member of the virtualkeyboard_enter_t enumeration set):

Screen showing the default keyboard layout with the default Enter key

The email keyboard layout (VIRTUALKEYBOARD_LAYOUT_EMAIL), with the text "Send" on the Enter key (VIRTUALKEYBOARD_ENTER_SEND):

Screen showing the email keyboard layout with the Send key as the Enter key

The numeric keyboard layout (VIRTUALKEYBOARD_LAYOUT_NUM_PUNC), with the default Enter key (VIRTUALKEYBOARD_ENTER_DEFAULT):

Screen showing the numeric keyboard layout with the default Enter key

The phone keyboard layout (VIRTUALKEYBOARD_LAYOUT_PHONE), with the text "Connect" on the Enter key (VIRTUALKEYBOARD_ENTER_CONNECT):

Screen showing the phone keyboard layout with the Connect key as the Enter key

The PIN keyboard layout (VIRTUALKEYBOARD_LAYOUT_PIN), with the text "Next" on the Enter key (VIRTUALKEYBOARD_ENTER_NEXT):

Screen showing the PIN keyboard layout with the Next key as the Enter key

The symbol keyboard layout (VIRTUALKEYBOARD_LAYOUT_SYMBOL), with the text "Done" on the Enter key (VIRTUALKEYBOARD_ENTER_DONE):

Screen showing the symbol keyboard layout with the Done key as the Enter key

The dial pad keyboard layout (VIRTUALKEYBOARD_LAYOUT_DIAL_PAD), with the default return key (VIRTUALKEYBOARD_ENTER_DEFAULT):

Screen showing the dial pad keyboard layout with the default Enter key

The URL keyboard layout (VIRTUALKEYBOARD_LAYOUT_URL), with the text "Go" on the Enter key (VIRTUALKEYBOARD_ENTER_GO):

Screen showing the URL keyboard layout with the Go key as the Enter key

The web keyboard layout (VIRTUALKEYBOARD_LAYOUT_WEB), with the text "Search" on the Enter key (VIRTUALKEYBOARD_ENTER_SEARCH):

Screen showing the web keyboard layout with the Search key as the Enter key

The password keyboard layout (VIRTUALKEYBOARD_LAYOUT_PASSWORD), with the default the Enter key (VIRTUALKEYBOARD_ENTER_DEFAULT):

Screen showing the password keyboard layout with the default Enter key

Last modified: 2013-12-21



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

comments powered by Disqus