In RIM Blackberry OS 4.6+ there is a new feature - ability to show notification icon in statusbar. Integrated application use it to give quick and informative information for user: Dealler - missed calls, Messages - unread messages etc.
removed dead ImageShack link
Possible use of notification icon:
- missed events
- RSS updates
- object status (ex. weather/app activity/gps signal strength)
- other
I would like to post a howto guide for this feature.
ApplicationIndicator class
To add/modify/remove notification icon we can use ApplicationIndicator class:
Add notification icon
For this we should create instance of ApplicationIcon:
Then we should register ApplicationIndicator with ApplicationIndicatorRegistry:
Modify indicator icon and value
To modify icon, use ApplicationIndicator.setIcon method:
To modify number value, use ApplicationIndicator.setValue method:
To hide or show indicator, use ApplicationIndicator.setVisible
Unregister ApplicationIndicator
Most likely you don't want your app indicator to stay in statusbar, it's better to ApplicationIndicatorRegistry.unregister() it on app close.
Sample application
Icons:
removed dead ImageShack links
Screenshots:
removed dead ImageShack links
Code:
This link may help :
Application Indicators and Home Screen Integration