BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-10-2009, 01:10 AM   #1 (permalink)
New Member
 
Join Date: Oct 2008
Model: 8700g
PIN: N/A
Carrier: Airtel
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to create a notification icon ?

Please Login to Remove!

I am creating an application where i need to show an notification icon (icon similar to new message icon)on the home screen.

Could you please help me with a sample code? Or is there any API which can be used?

Br,
Akash shah,
Deltecs InfoTech
Offline  
Old 09-10-2009, 04:48 AM   #2 (permalink)
New Member
 
Join Date: Sep 2009
Model: Storm
PIN: N/A
Carrier: Vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Have a look at net.rim.device.api.notification.NotificationsManag er - this should give you what you want. Also, in the JDE, there is a NotificationsDemo sample application which you can look through.

The samples directory should be something like C:\Program Files\Research In Motion\BlackBerry JDE 4.7.0\samples - in that directory is samples.jdw which you can open in the JDE.

Hope this helps!
Offline  
Old 09-10-2009, 06:49 AM   #3 (permalink)
New Member
 
Join Date: Sep 2009
Model: Storm
PIN: N/A
Carrier: Vodafone
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually, it looks like net.rim.blackberry.api.messagelist.ApplicationIndi cator might be better suited to your needs if you want the little icon at the top of the screen
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.