Skip to content
Find file History
Latest commit 5cb0f84 Nov 15, 2014 @phofman phofman Created projects for Visual Studio 2013
BlackBerry Native Plugin v3.0.2 for Visual Studio 2013 must be installed first!
Failed to load latest commit information.
Ch8_Simple_VertexShader Created projects for Visual Studio 2013 Nov 15, 2014
Ch9_TextureWrap Created projects for Visual Studio 2013 Nov 15, 2014
LICENSE Update OpenGLES2-ProgrammingGuide/ Jan 12, 2012

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.