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:
- In Windows and Linux, on the Window menu, click Preferences. In Mac OS, on the Momentics menu, click Preferences.
- Expand Install/Update and click Automatic Updates.
- Configure your update schedule, download options, and notification options.
We've been busy updating the tools and adding some new features. Here are some of the highlights!
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.
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 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.
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.
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.
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.
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.