Create a BlackBerry Tablet OS project

Start the QNX Momentics IDE on your development host. The first time you start the IDE, it asks you to choose a workspace, a folder where it can store your projects and other files. The IDE then displays its Welcome page. When you're ready to start, click the Workbench icon:

The Workbench icon.

To create a BlackBerry Tablet OS C/C++ project:
  1. From the File menu, select New > Project... .
  2. In the New Project dialog, expand BlackBerry Tablet OS or C/C++, and then select BlackBerry Tablet OS C/C++ Project.
  3. Click Next.

    Screen showing the BlackBerry Tablet OS C/C++ Project dialog.

  4. Type a name for your project.
    Although the wizard allows it, don't use any of the following characters in your project name:

    | ! $ ( " ) & ` : ; \ ' * ? [ ] # ~ = % < > { }

    as they may cause problems later.

  5. Click Next.
  6. Select the language that you want to use for the new BlackBerry Tablet OS project (C or C++), the build style (Managed or Makefile), and then specify the project type you want to use:
    • Application — Provides an executable application and a Native SDK sample project.
      • BlackBerry Tablet OS OpenGL ES1.1 Application Template Project — Create a sample project from an OpenGL ES 1.1 application template that will create a simple animated application.
      • Empty Application — Create an application project without any code.
      • Minimal Screen Application — Create a sample project with a managed build from an OpenGL ES 1.1 application template that will create a simple animated application.
    • Shared Library — Create an executable module compiled and linked separately.
      • Empty Shared Library — Create a project that produces a shared library without any code.
    • Archive (Static Library) — Create a collection of object files that you can link into another application (libxx.a).
      • Empty Archive — Create an archive project without any code.

      The IDE combines object files (i.e., *.o) into an archive (*.a) that is directly linked into an executable.

    • AIR Native Extension — Create a project that produces a shared library for AIR Native Extensions.
      • Empty AIR Native Extension — Create a project that produces an AIR Native Extension shared library without a code template.
      • Hello AIR Native Extension — Create a project that produces an AIR Native Extension shared library from a template.
    • Custom Build — Creates a project that uses a custom build system or Makefile. You must select the Makefile Build build style for this option.
      • Empty Project — Create a new BlackBerry Tablet OS project with a custom build system and no code template. This project is configured with a make builder but has no Makefile. The custom build option creates a project with the default build configuration.
  7. Click Finish. A ready-to-use project structure is created for you, which you'll find in an automatically generated source code file, if you chose to use templates.
  8. The IDE runs the BlackBerry Tablet OS Setup Deployment Wizard, which helps you set up your development environment to create applications and deploy them on the tablet.
    You can later change the selections you make in this wizard by clicking Window > Preferences , expanding BlackBerry Tablet OS, and then clicking BlackBerry Tablet OS Setup Deployment Wizard to configure your environment.
The IDE now switches to the C/C++ perspective, which features the Project Explorer, the editor, and other useful views, and areas that display information that's relevant to the task at hand:

Screen showing the C/C++ perspective.