Create a basic 2-D application

In this tutorial, we'll explore the OpenGL ES 1.1 Application Template Project that demonstrates how to set up the BlackBerry Platform Services library, the screen.h library, and EGL to display a rotating, 2-D, colored square on a white background. This application is available by creating a new project in the QNX Momentics IDE and choosing the BlackBerry Tablet OS OpenGL ES 1.1 Application Template Project.

Device image showing the 2-D sample app.

You will learn to

  • Set up the BlackBerry Platform Services library
  • Create a screen context
  • Initialize EGL for 2-D rendering
  • Clean up graphics