An image for the Momentics IDE 2.1 Gold.

Momentics IDE 2.1 Gold is here!

Published: June 24th, 2014

Read the release notes

Check out the latest update for the 10.3.0 Gold release

We've just released a new Gold version of our BlackBerry 10 development environment: Momentics IDE 2.1 Gold for BlackBerry. We've added some usability improvements on the toolbar and in the device manager that we hope will enhance your experience. We've also added ways to make supporting new devices and themes easier.

You don't need to uninstall your current IDE. You can upgrade from Momentics IDE 2.0 to Momentics IDE 2.1 from within the IDE. On the Help menu, click Check for Updates, and follow the instructions in the wizard.

You can also configure the IDE to look for updates automatically:

  1. In Windows and Linux, on the Window menu, click Preferences. In Mac OS, on the Momentics menu, click Preferences.
  2. Expand Install/Update and click Automatic Updates.
  3. Configure your update schedule, download options, and notification options.

What's new?

We've been busy updating the tools and adding some new features. Here are some of the highlights!

Enhanced toolbar

The updated toolbar focuses on launch configurations, and it is the starting point for launching your app. You can use the toolbar for tasks such as running an app, debugging by attaching to a process, profiling C/C++ or QML projects, and performing memory analysis.

Screen showing the toolbar in the 2.1 Gold version of the Momentics IDE.

To learn more, see Build, test, and deploy your app.

New Device Properties wizard

If your device is not connecting correctly in the IDE, you can use the new Device Properties wizard to resolve problems that may prevent deployment of your app on a device.

To start the Device Properties wizard, click Momentics IDE edit icon beside the Launch target drop-down list.

UI adaptability: design units and asset selectors

Design units make it easier to create adaptable UIs. A design unit is a unit of length that scales assets for different device specifications. Another way to create adaptable UIs (and minimize your code) is to use asset selectors. You can use asset selection based on screen layout or asset selection based on screen density.

To learn more, see Design units and Static asset selection.

Themes and colors

You can now change the primary color of your app at runtime or in your bar-descriptor.xml file to a color that matches your brand. You can change the default visuals for many core controls.

Core controls with various colors and a light base.

To learn more, see the Themes documentation and the API reference documentation for the UIConfig class.

Setting visual styles for your app

You can specify the visual style of your app (bright, dark, default) by using the Theme drop-down list on the Application page of your bar-descriptor.xml file.

If you are using API level 10.3 or later, you can also specify customized colors for your theme.

To learn more, see Application tab.

Screen showing the Theme Settings on the Application page of the bar-descriptor.xml file in Momentics IDE 2.1.

QML Preview enhancements

QML Preview has some new features that make testing your UI easier. In the preview window, you can use the touch interaction feature to test how your app responds to touch events or use the selection feature to find the code that implements a control. You can also see how your UI looks with different colors, themes, and screen resolutions.

To learn more, see QML Preview.

Templates for cards

To make it easier to create cards, the Momentics IDE provides a project template for card creation.

When you create a Cascades project using File > New > BlackBerry Project, you can select the Card app template to create a card app with a user UI component that can send a message to a UI card.

To learn more about cards, see Cards.

New permissions in API level 10.3

Using API level 10.3, you can access new permissions in your bar-descriptor.xml file. You can use the phone call details permission to find out about a call in progress. You can also use the smart card permissions to encrypt, decrypt, sign, and verify data, and access smart card services.

To learn more, see Available permissions.

Pretty printers for Qt types

In Momentics IDE 2.1 Gold, you can now see variable values for common Qt types (for example, QString, QMap, QVariant) when you are debugging your C++ code. Instead of showing addresses only, the values are now displayed in an easy-to-read format by default for API level 10.1 and later.

Release notes

Check out the release notes for information about BlackBerry 10 Native SDK 10.3 Gold and Momentics IDE 2.1 Gold, as well as known issues, fixed issues, and other important details.