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
girishthakr
Posts: 232
Registered: ‎12-15-2008
My Device: 9700
My Carrier: Vodafone India
Accepted Solution

How to show Message reminder icon ???

[ Edited ]

As any message/email come to Blackberry a small "icon" come as a reminder, on the top-middle of the Screen along with

the  number of msgs pending.

 

I want to display same icon through my  application as I received any msg in my application.

 

How to do this ? What is to use ??

 

Please assist.

Thnx in advance.

Message Edited by girishthakr on 04-23-2009 06:01 AM
Please use plain text.
Developer
girishthakr
Posts: 232
Registered: ‎12-15-2008
My Device: 9700
My Carrier: Vodafone India

Re: Message reminder

Is anything to do with HomeScreen Api???
Please use plain text.
Developer
girishthakr
Posts: 232
Registered: ‎12-15-2008
My Device: 9700
My Carrier: Vodafone India

Re: Message reminder

Please give any idea.....

 

I m waiting for reply....

Any idea.

Please use plain text.
New Developer
fdu4
Posts: 11
Registered: ‎12-12-2008
My Device: Not Specified

Re: Message reminder

check the class "ApplicationIndicator"

it is there since JDE 4.6.0

previous versions do not support the functionality.

Please use plain text.
New Developer
Snowkitty
Posts: 2
Registered: ‎04-15-2009
My Device: Not Specified

Re: How to show Message reminder icon ???

EncodedImage encodedimage= EncodedImage.getEncodedImageResource("image.gif");

ApplicationIcon applicationicon = new ApplicationIcon(encodedimage);ApplicationIndicator applicationindicator = ApplicationIndicatorRegistry.getInstance().register(encodedimage,

false,false); 

applicationindicator.setVisible(true);

Please use plain text.
New Developer
fdu4
Posts: 11
Registered: ‎12-12-2008
My Device: Not Specified

Re: Message reminder

Please use plain text.
Developer
girishthakr
Posts: 232
Registered: ‎12-15-2008
My Device: 9700
My Carrier: Vodafone India

Re: Message reminder

Thankyou very much for your replies

 

I m trying to implement these in my application n also chking API.

 

I let u know If I got what I want ....:smileyhappy:

 

Once again thnx

Please use plain text.
Developer
girishthakr
Posts: 232
Registered: ‎12-15-2008
My Device: 9700
My Carrier: Vodafone India

Re: Message reminder

Thnx for ur replies: The code given by "Snowkitty" is wrkng fine.

 

Now I can display Icon along with number as soon msg comes to my application. and disappear when specified task is complete.

 

Once again thnx..

 

One more question .....   I can show this icon when my application install ....      Right???  Using auto-run Onstartup method !!   I think so...:smileyhappy:

 

Now I m trying to do this thing... Will it possible   or there is any other way to do this  

 

I want that when my application is install .....  and without any  User Interface  my application start and show this icon on HomeScreen 

 

Is there is any other way to do this Please assist me .....

 

Waiting for your kind replies .....

 

 

Thnx

 

 

 

 

Please use plain text.