Welcome!

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

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

Notification Number

Hello,

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 #



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

Re: Notification Number

Hi
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.

Ankit
Thanks & Regards,
Ankit Dubey
Module Lead Software Engineer, mLabs
Impetus InfoTech (India) Pvt. Ltd.
Highlighted
Developer
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:

http://docs.blackberry.com/en/developers/deliverables/17965/Banner_and_title_bars_1123392_11.jsp