Add proprietary 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 10 Native SDK, 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.
-
In the Project Explorer view, right-click a project in the IDE and select Properties.
-
In the Properties dialog box, select
-
In the Tool Settings tab, select
-
In the Libraries section, click the Add button.
-
In the Enter Value dialog box, type the name of library and click OK.Do not type the prefix lib when typing the name of the library. 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-10.0.04\target\qnx6\x86\usr\lib), you would simply type camapi to add the library.