Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Note about using NDK 1.0

If you are using NDK version 1.0, you will need to un-comment out the following in each of the bar-descriptor.xml files.

<!-- BlackBerry NDK 1.0
<asset path="${QNX_TARGET}/../target-override/${CPUVARDIR}/usr/lib/" type="Qnx/Elf">lib/</asset>

Otherwise you will see this warning.

Asset requires dependency "C:\bbndk-1.0\target\target-override\armle-v7\usr\lib\" to be included in the BAR package. bar-descriptor.xml

Installing the BlackBerry Native SDK for Tablet OS

In order to run the code samples, you will need to download The BlackBerry Native SDK for Tablet OS:

Configuring the Native SDK

Instructions on how to configure the Native SDK and setup the signing keys can be found here:

Getting started with the NDK

Importing the projects into the workspace

  • Set the workspace to the base BlackBerry directory.
  • Import the projects into the workspace:
    • File > Import... > Existing Projects into Workspace
    • Next
    • Browse...
    • Ok (The workspace directory is selected by default)
    • Finish (All projects should be selected by default)
  • Build All

Running on the PlayBook

Before attempting to deploy to the device, make sure that you have followed the instructions up to "Configure your environment for development and deployment".

Getting started with the NDK

  • Enable Development Mode on your PlayBook
    • Go to Options by swiping down from the top of the homescreen
    • Security > Development Mode
    • Turn on Development mode
    • Note the Development Address
  • In the IDE, Create a BlackBerry Tablet OS Target
    • Connect your PlayBook via USB to your desktop and make sure that development mode is enabled
    • New > Other... > BlackBerry Tablet OS Target > Next
    • Enter your "Development Address" (probably
    • Enter your PlayBook's password
    • Finish
    • A BlackBerry Tablet OS Target will appear under the Project Explorer. The name will be the same as the development address.
  • Launching an application
    • Create a launch configuration for each sample.
Something went wrong with that request. Please try again.