Typically this is used to display status changes such as new email messages, new facebook messages or new news feed items etc.
Since OS 4.6, BlackBerrys have had the ability to easily add entries to the notification area. The image on the left shows a BlackBerry Torch with 2 indicators.
EncodedImage indicatorIcon = EncodedImage
.getEncodedImageResource("indicator.png");
ApplicationIcon applicationIcon = new ApplicationIcon(indicatorIcon);
ApplicationIndicatorRegistry.getInstance().register(applicationIcon,
false, false);
- The ApplicationIcon to register
- Boolean flag indicating whether to display an icon only or whether to display a numeric value alongside the icon.
- Boolean flag indicating whether the application indicator is visible when first created.
ApplicationIndicator indicator = ApplicationIndicatorRegistry
.getInstance().getApplicationIndicator();
indicator.setValue(value);
indicator.setVisible(true);