Package and Deploy
After you build a project, you're ready to run it.
Development mode and release mode
You can run your app in either development mode or release mode.
- Development mode
- The package is defined during packaging and cannot be changed later. The only way to change the package is to uninstall the app. It has no correlation to Development Mode on the device.
- Release mode
- Mimics the installation environment that users have when they get the application from BlackBerry World. For example, in release mode there are more restricted file system permissions. If your application uses a file that is available only in debug mode, then the application will not work when users download it from BlackBerry World.
|Affects||Development mode||Release mode|
|Packaging||The app is packaged with -devMode flag.||The app is not packaged with -devMode flag.|
|Signing||The app cannot be signed.||The app must be signed.|
|Package ID||The default package ID starts with testDev (unless you specify the static ID that the signing tool assigned).||The package ID is assigned by the signing authority.|
|User ID (UID) and group ID (GID)||UID=100
GID=900-999 (A maximum of 100 development apps are allowed.)
|The UID and GID are unique for each app.|
|Application assets||Read/write permission for devuser.||Read-only permission for the app owner. No read permission for any other user.|
|Sandbox||Read/write permission for devuser and app.||Read/write permission for only the app. No tools can access the app, including the debugger.|
|Navigator||No timeouts. No stopped processor. No pooling.||Timeout on startup and shutdown. Stopped processor. Pooling support.|
|Running, debugging, or testing||When you run or debug an app, the IDE packages the app in development mode, even if you select the Device-Release configuration.||You cannot debug the app.
For information about testing the app, see Test and debug.
Run your application
When run your project using the toolbar, the IDE creates the target project and the launch configuration in the background.
For more information about the toolbar, see Toolbar overview.
- On the toolbar, in the Active Projects list, click your project.
- In the Active Device list, click the device you want to use.
- In the Action list, click Run or
The action button changes to the Run or the Run Release button.
- Click the Run or Run Release button.
Run an application manually
To manually run or debug your application, you must create both of the following:
- a BlackBerry 10 OS Target project, which specifies how the IDE communicates with your target; once you've created a target project, you can reuse it for every program that runs on that particular target. To create a new target for BlackBerry 10 OS, use the BlackBerry Setup Deployment Wizard, either when you create a project (see Create a BlackBerry project) or via the Signing preferences page (see Signing page); otherwise, perform the steps below.
- a launch configuration, which describes how the program runs on your target; you'll need to set this up only once for that particular program.
Last modified: 2013-12-21