Build, test, and deploy your app
Here's where you can find information about building, configuring, testing, and deploying an app using the Momentics IDE for BlackBerry. You can also learn how to distribute your completed app in the BlackBerry World storefront.
The Momentics IDE is the key development tool for all BlackBerry 10 apps (both core apps that you write in C and Cascades apps that you write in C++ or QML).
The QML Editing perspective is a set of views and features that are built into the Momentics IDE, which you can use to create Cascades apps.
The C/C++ perspective is a set of views that you can use to create C apps.
The Momentics IDE for BlackBerry is based on the Eclipse Platform that is developed by the Eclipse Foundation, which is an open consortium of tools vendors.
The Momentics IDE incorporates plugins into the Eclipse framework that are designed for building projects for BlackBerry 10 devices. The Momentics IDE provides an integrated environment, regardless of the platform you use (Windows, Mac OS, or Linux).
The Momentics IDE relies on the standard BlackBerry 10 OS tools and Makefile structure.
Start the Momentics IDE
You can start the Momentics IDE from the desktop icon, or from the menu item in the start or launch menu.
Before you build your app, make sure that you set up your development environment.
Start the Momentics IDE from the command line
To start the Momentics IDE from the command line, run the qde command.
You must use qde to start the Momentics IDE, instead of the eclipse command, because qde configures the correct environment variables.
- In Windows, navigate to the folder where the qde.exe executable is located, and run the command: qde
- In Linux, navigate to the folder where the qde script is located, and run the command: ./qde
- In Mac OS, navigate to the folder where the qde script is located (for example, momentics.app/Contents/MacOS/qde), and run the command: qde
Learn more about command-line tools
Read moreCommand-line tools are available as part of the BlackBerry 10 Native SDK. The command-line tools are located in the $QNX_HOST host operating system/user/bin. For example, in Windows, the folder is bbndk\host_<NN_N_N_NNNN> \win32\x86\usr\bin where <NN_N_N_NNNN> represents the version of the release.
Here are the available command-line tools:
- blackberry-connect
- Connects to devices using SSH for testing and debugging apps.
- blackberry-debugtokenrequest
- Creates debug tokens on your computer.
- blackberry-deploy
- Deploys apps (BAR files) to a device.
- blackberry-keytool
- Generates a code-signing certificate.
- blackberry-nativepackager
- Packages your compiled binaries for your app as a BAR file.
- blackberry-signer
- Digitally signs your app, which is necessary before you publish and distribute your app.
- blackberry-uripackager
- Creates a web icon for the device.
Last modified: 2015-03-31