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
Developer
magfed
Posts: 37
Registered: ‎09-15-2009
My Device: Not Specified
Accepted Solution

Notification icon customization

Hi all.

 

I have a question. I've develop the application that uses notification icons (net.rim.blackberry.api.messagelist)

I've registered my notification icon

 

 

 

ApplicationIndicatorRegistry reg = ApplicationIndicatorRegistry.getInstance();    
EncodedImage image = EncodedImage.getEncodedImageResource("img/indicator.png");
ApplicationIcon icon = new ApplicationIcon( image );
ApplicationIndicator indicator = reg.register( icon, false, false);

 

 

and then later show it in the one of the threads on my application

 

 

ApplicationIndicatorRegistry reg = ApplicationIndicatorRegistry.getInstance(); 
ApplicationIndicator AppIndicator = reg.getApplicationIndicator(); 
AppIndicator.setValue(messagesCount);
AppIndicator.setVisible(true);

 

 

so I have the notification like this (orange circle (my notification image) and count of the messages):

 

notification.png

 

 

 

 

 

 

 

 

 

The question is: Is there some way to put the number (1 at the image) to the left side (relatively to the orange circle) and / or change the number's font size?

 

The application is developed for BB 4.6.

 

Thank's in advance

magfed.

Please use plain text.
Developer
magfed
Posts: 37
Registered: ‎09-15-2009
My Device: Not Specified

Re: Notification icon customization

Didn't anyone customize the notification area?

Please use plain text.
Developer
magfed
Posts: 37
Registered: ‎09-15-2009
My Device: Not Specified

Re: Notification icon customization

Guys, anyone?

Please use plain text.
Developer
simon_hain
Posts: 15,846
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Notification icon customization

no, you cannot interact with the display of the notificator.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
magfed
Posts: 37
Registered: ‎09-15-2009
My Device: Not Specified

Re: Notification icon customization

Thank you.

Please use plain text.
New Contributor
manudev
Posts: 4
Registered: ‎05-14-2013
My Device: Bold
My Carrier: 918686369390

Re: Notification icon customization

I tried the above ,but it is working on OS7 only not working on OS5 and OS6 .If anybody has idea help me in this case...Thank you.

Please use plain text.
Developer
simon_hain
Posts: 15,846
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Notification icon customization

please open your own thread about your issue and post some details, like code snippets.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.