Add provided SDK libraries and third-party libraries to your project

When you are ready to start coding (or while you code), you'll find it necessary to use libraries.

You can add libraries provided with the BlackBerry Native SDK for Tablet OS, as well as third-party libraries using the Add Library wizard and choosing the Standard BlackBerry platform library or External library option. If you know the name of the library (available from the API documentation), you may find it faster to add it directly to a project using the Properties menu. This is useful if the wizard does not have the name of the library you are looking for.

To add a library in the Properties dialog:
  1. In the Project Explorer view, right-click a project in the IDE and select Properties.
  2. In the Properties dialog box, select C/C++ Build > Settings .
  3. In the Tool Settings tab, select QCC Linker > Libraries .
  4. In the Libraries section, click the Add button.
  5. In the Enter Value dialog box, type the name of library and click OK.
    The name of a library you enter is the text after the prefix of "lib". For example, if the function you want has a library name of libcamapi.so (found in the SDK folder, such as bndk-2.1.0-beta1\target\qnx6\x86\usr\lib), you would simply type camapi to add the library.