BlackBerry API applications
A BlackBerry® API application is an application that uses the BlackBerry
APIs, as well as the CLDC APIs and possibly the MIDP APIs. A BlackBerry
API application extends the UiApplication class and starts with a standard main() method.
Most of the BlackBerry® Java® Development Environment
sample applications are BlackBerry
API applications. All the BlackBerry®
Device Software applications (including the message list, contact list, calendar, and BlackBerry® Browser) are BlackBerry
API applications.
Advantages
|
Disadvantages
|
- BlackBerry UI APIs provide more functionality and flexibility than the standard javax.microedition.lcdui APIs that are used to create MIDlets.
- Applications can run background threads after the application closes.
- Applications can start automatically in the background when the device turns on.
- Applications can use IPC APIs to exchange information with other applications.
- Developers can create library modules that BlackBerry
API applications
can import.
- Applications can access trackball and trackwheel events.
- Applications can access touch screen events on a BlackBerry
device with a touch screen.
- Applications can use data from the accelerometer on a BlackBerry
device.
- Applications can integrate with BlackBerry Browser, BlackBerry® Maps, and other
applications.
- Applications can change the icon that displays on the Home screen on a BlackBerry device.
|
- A BlackBerry
API application can run only on a BlackBerry device.
|
Was this information helpful? Send us your comments.