-
-
Notifications
You must be signed in to change notification settings - Fork 365
BlackBerry
Lime currently supports BlackBerry Tablet OS 2.0 and BlackBerry 10 devices (and greater)
You will need to have a BlackBerry Native SDK installed, you can use the BlackBerry Tablet OS Native SDK to target both the PlayBook and BlackBerry 10 devices. In order to deploy to a device, you will need to have a valid developer certificate and installed debug tokens on your device.
You can use "lime setup" to automate the install and configuration of certificates/tokens:
lime setup blackberry
You may have difficulty using the newest versions of the BlackBerry 10 Native SDK, due to (mostly positive) changes in the design of the SDK, and the steps to create certificates. If you have any issues, we recommend you use an older version of the SDK. The "setup" command should install the Tablet OS version, which should perform just as well.
You must run "lime setup blackberry" even if you have a native SDK installed, so the command-line tools know where to find the SDK, which IP address to use when targeting a device, etc.
You can target both the device or the emulator.
armv7 and x86 are supported, for devices and for the device emulator.
We use the BlackBerry port of SDL 1 for windowing, events and input. Audio is currently handled through SDL_mixer. Other dependencies include libjpeg, libpng, Freetype and cURL.
Since we have stopped using SDL 1 for windowing on desktop targets, it may make sense to update to SDL 2 (if it ever supports BlackBerry) or to implement a custom windowing layer to increase support for features on the platform. We also may consider using the BlackBerry port of OpenAL instead of SDL_mixer for audio.
Since BlackBerry has game input support now, it could also be interesting to support this, as we do on other platforms.
You may use the "blackberry" target when using "lime" commands:
lime test blackberry
You may also use the "-simulator" to target a device simulator:
lime test blackberry -simulator