Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Trusted Contributor
Posts: 178
Registered: ‎02-20-2011
My Device: 8700
My Carrier: at&t
Accepted Solution

Notification Number


Is there a way to get the number of notification all appeared in the top bar?Such as Gmail?

# I tried to change the world, but I couldn't find the source code #

Posts: 146
Registered: ‎07-24-2008
My Device: none
My Carrier: none

Re: Notification Number

can you please elaborate more. Are you talking about some notification on the top bar inside your application or in the native top bar.

Well in the native , i am not sure its possible, for inside the application you can use setTitle() method and pass your custom field.

Thanks & Regards,
Ankit Dubey
Module Lead Software Engineer, mLabs
Impetus InfoTech (India) Pvt. Ltd.
Posts: 141
Registered: ‎02-10-2010
My Device: 9500
My Carrier: Airtel

Re: Notification Number

You can achieve this using TitleBar (supported from version 6.0 onwards).


Title bars can display the following items:

  • application icon, descriptive title, and time
  • application notifications, such as a new message indicator
  • wireless connection indicators, including the wireless coverage level, network coverage, GPS indicator, Bluetooth indicator, and Wi-Fi connection indicator
  • battery power indicator
  • active call indicator

Refer to the following link for details: