Build and test

There are a few important things to remember when building and testing your application using the BlackBerry 10 Native SDK.

Using the bar-descriptor.xml file

The bar-descriptor.xml file defines parameters for identifying, installing, and launching your app on the BlackBerry 10 OS. You must ensure that all the appropriate properties are set correctly for your app. For more information, see The bar-descriptor.xml file.

Adding external libraries

You may have libraries outside of the Native SDK that you want to include in your project's build. The Add Library Dependency wizard walks you through the process of adding libraries, whether they are uncompiled source in your workspace or previously built libraries on your host file system. For more information, see Using libraries.

Support for multiple application icons and splash screens

The BlackBerry 10 Dev Alpha device and the first BlackBerry 10 device support a 1280 x 768 screen resolution. Future BlackBerry 10 devices will support two screen sizes: 1280 x 720 (16:9) for full touch screen devices, and 720 x 720 (1:1) for devices with a physical keyboard. Applications should provide an icon and splash screen that supports both screen sizes so that they look consistent across devices. You specify icons and splash screens in the bar-descriptor.xml file and you can add them for each supported screen resolution. The BlackBerry 10 OS chooses the correct icon and splash screen to use based on the device that the application is running on.

Last modified: 2014-09-30

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus