All Packages

BlackBerry 10 SDK for Adobe AIR API Reference 3.2.1 Gold

The BlackBerry 10 SDK for Adobe AIR allows you to optimize your Adobe AIR applications for the BlackBerry 10 OS. This SDK provides APIs that extend Adobe® ActionScript 3.1 and allow you to develop applications that have the look and feel of native BlackBerry® applications and take advantage of some of the unique features of the OS. These APIs provide some unique UI components and predefined skins and enable you to listen for events specific to the BlackBerry 10 OS, such as a swipe down event from the top bezel (the touch-sensitive frame around the display area of the screen).

The BlackBerry 10 OS supports the Adobe AIR 3.1 mobile device profile. The Adobe AIR 3.1 mobile profile was developed to provide the critical improvements in performance and reduction in processor usage that were necessary to bring Adobe Flash based applications to mobile devices such as smartphones and tablets. APIs have been added to ActionScript 3.1 to allow Flash applications to access some of the functionality that is unique to mobile devices, such as access to accelerometer and geolocation information and support for touch and gesture events.

The BlackBerry 10 OS includes the Adobe AIR 3.1 runtime environment. Applications developed for this runtime should be fully functional on the BlackBerry PlayBook or smartphone with no additional development required, save for adjusting the application for the unique screen size of the device.

qnx.fuse.ui packages (UI controls)

The qnx.fuse.ui packages provide UI controls that enable you to easily create applications for mobile devices.

 qnx.fuse.ui.buttons Contains the functionality used to implement buttons.  
 qnx.fuse.ui.core Contains the functionality that enables you to position UI components on a view. The Container class is the "container" that is used to group and position interface components, while the UIComponent class is the base class for all components.  
 qnx.fuse.ui.dialog Contains the functionality used to create, manipulate, and position dialogs. Dialogs are used to prompt the user, to alert the user, and to enable you to perform tasks such as logging in to a system and changing your password. Provides data and option constants for dialogs.  
 qnx.fuse.ui.display Contains the classes that govern the display. It contains classes that enable you to manipulate and view images. Contains event functionality for all user interface components. This includes specialized event types for each of the list classes as well as event classes for media controls, toggle switches and sliders.  
 qnx.fuse.ui.expandablecontrol The ExpandableControl class provides a button and a content area.  
 qnx.fuse.ui.geom Contains the EdgeMetrics class that returns nine-slice scaling information about the scaled edges of a skin.  
 qnx.fuse.ui.layouts Contains the base classes that define layouts. Layouts are used to position controls according to a predefined and configurable pattern, within a container. Contains the CSS class, which allows you to style components and create themes.  
 qnx.fuse.ui.layouts.gridLayout Contains the classes that define and enable the grid layout. The GridLayout type positions controls according to a grid made up of horizontal and vertical columns.  
 qnx.fuse.ui.layouts.rowLayout Contains the classes that define and enable the row layout, where controls are positioned in rows. On resize operations, rows can automatically wrap to add or remove rows of controls.  
 qnx.fuse.ui.layouts.stackLayout Contains the classes that define and enable the stack layout. In the StackLayout class, controls overlap each other such that each control is positioned (according to z-order) in a vertical stack.  
 qnx.fuse.ui.listClasses Provides various list type functionality including basic list, tile list, section lists and drop down components. Provides user-interface functionality for the media player. This package provides classes for media player control and customization of media player interactions.  
 qnx.fuse.ui.picker Provides picker functionality for your application. The picker is a specialized list mechanism that allows you to select items from a set of scrolling cells. The picker is useful for displaying complex information and for allowing the user to select data from multiple scrolling columns, such as birth dates.  
 qnx.fuse.ui.progress Provides progress indicator functionality. The progress indicator provides temporal feedback during time-consuming or processor-intensive operations.  
 qnx.fuse.ui.slider Contains two slider controls - a basic slider and a volume slider. The slider control allows the user to select a value by adjusting the position of a thumb control along a track. For example, the slider control might be used to adjust brightness or size.  
 qnx.fuse.ui.text Provides the ability to display text. This includes basic labels and text input fields.  
 qnx.fuse.ui.utils Contains common utilities such as the ImageCache class, which enables you to cache images for your application, and the TimeFormatter class, which formats a Number into a proper time value.  


The following packages contain skin classes that define the look and feel of you application. The API contains two skin themes: light and dark. You can use the included skins in your own application, or you can create your own skins to give your application a unique, custom look and feel.

 qnx.fuse.ui.skins Contains basic component skin implementations. The skins classes provide a customizable, consistent, look and feel for the SDK component set.  
 qnx.fuse.ui.skins.animation Contains animations that can be used to transition skins between states.  
 qnx.fuse.ui.skins.buttons Contains skin implementations for all button components.  
 qnx.fuse.ui.skins.expandablecontrol Contains skin implementations for all expandable components.  
 qnx.fuse.ui.skins.listClasses Contains skin implementations for all list components.  
 qnx.fuse.ui.skins.picker Contains skin implementations for the picker component.  
 qnx.fuse.ui.skins.progress Contains skin implementations for the progress bar and progress indicator.  
 qnx.fuse.ui.skins.slider Contains skin implementations for the slider control.  
 qnx.fuse.ui.skins.text Contains skin implementations for text input field components.  

Miscellaneous Packages

Use the following packages and classes to create your application:

 PackageDescription Contains events specific to BlackBerry services.  
 net.rim.blackberry.payment Contains classes that enable you to purchase items online and to view past transactions.  
 net.rim.blackberry.push Contains classes that allow you to push notifications remotely to applications.  
 qnx.crypto Contains cryptography and encoding classes.  
 qnx.display Contains classes that allow you to define the behavior and appearance of an application display window. This includes properties that define X and Y position, Z-order, alpha values and transparency, and focus behavior. This package also contains the Display class which allows you to interact with and configure internal and external displays. Contains the common API event functionality. This includes battery level and state events, media service connection events, image cache utility events, and application-related events (such as the low memory event).  
 qnx.invoke Provides the ability to invoke applications, viewers and cards.  
 qnx.locale Enables you to utilize locale-specific resources in order to provide a properly translated, multilingual user-experience for your application. Contains the classes that define low-level media player functionality. Contains the classes that enable you to monitor device network connections.  
 qnx.notification Provides event notification services and the notification management functionality.  
 qnx.sensors Provides sensor implementations, including the Gyroscope, Magnetometer and various helper classes.  
 qnx.system Encapsulates and exposes system, device, and application-specific properties. This includes battery status, PIN and software version information, and application-specific data.