Tutorial: Create the Keyboard application

In this tutorial, we'll show you how to use the glview library and OpenGL ES to capture and process input from the keyboard of your BlackBerry 10 device and to render graphics to the screen.

We'll walk through the Keyboard sample app, which creates a colored square and a virtual keyboard on full touch screen devices, such as the BlackBerry Z10 and BlackBerry Z30, and lets you use the virtual keyboard to:
  • show or hide the virtual keyboard
  • switch virtual keyboard layout
  • rotate the displayed square
  • change the rotation speed of the square
If you are using a device with a physical keyboard, such as the BlackBerry Q10 and BlackBerry Q5, the virtual keyboard doesn't apply. The Keyboard sample app lets you use the physical keyboard to:
  • rotate the displayed square
  • change the rotation speed of the square

You can take the concepts you learn here to build keyboard handlers to control your applications.

Device image showing the Keyboard sample app.

You will learn to:

  • Configure your project
  • Show the virtual keyboard
  • Process keyboard input

Last modified: 2013-12-21

comments powered by Disqus