Of all of the platforms that Cordova supports, the BlackBerry 10 platform most closely aligns with the Cordova approach. The hybrid application approach has been a core application type for BlackBerry for quite some time and for BlackBerry devices, Cordova is built on top it. In this chapter, I’ll show you how to use the BlackBerry command line tools to test and debug BlackBerry Cordova applications.

One of the cool things about BlackBerry development is that the BlackBerry SDK automatically integrates a web inspector like weinre into the simulator; I’ll show you how to use it here.

The Cordova team announced that they will be dropping support for legacy BlackBerry devices (devices running BlackBerry Device Software 7 and earlier), so I will only be covering BlackBerry 10 here. To work with legacy BlackBerry devices, you will need to use Cordova version 2.9 or earlier.