BlackBerry Setup - staticfloat/GamePlay GitHub Wiki
This page explains how to setup the BlackBerry Native SDK in order to compile gameplay for BlackBerry 10 and/or BlackBerry PlayBook.
Read the official BlackBerry Native SDK Getting Started Guide if you get stuck.
Install the Cross-platform Dependencies
Before you get started you will have to download the dependencies separately.
Download the BlackBerry 10.2 Native SDK
Available for Windows, Mac and Linux.
Install the BlackBerry 10.2 Native SDK
- Download BlackBerry 10.2 Native SDK
- (Optional) Download the BlackBerry 10 Simulator
Get code signing keys and debug tokens
Before you can deploy your game onto a device, you need to get signing keys.
- Read the Getting Started Guide for the full instructions.
Run the Momentics IDE
Import the gameplay projects:
File > Import > Import Existing ProjectsBrowse...- Choose the base gameplay directory
- Select all of the gameplay projects
- Do not select
Copy projects into workspace Finish
Set the Build Configuration (if using the simulator)
For a device
To compile for a device, leave the Build Configuration at "Device-Debug". (Should be the default).
For the simulator
To compile for the simulator, set the Build Configuration to "Simulator" for each project.
Project > Build Configurations > Set Active > Simulator
Build
Project > Build All
Enable Development Mode
For a device
On your device: Settings > Security > Development Mode > Use Development Mode
For the simulator
The simulator should be in development mode by default.
Set up the SDK and connect to your device or simulator
Run the BlackBerry Deployment Setup Wizard in Momentics
Window > Preferences > BlackBerry > BlackBerry Deployment Setup Wizard
If you get stuck, read Set up the SDK and connect to your device or simulator in the Getting Started Guide.
Running a sample
Right click the sample you want to run.
Run As > BlackBerry C/C++ Application