BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-14-2007, 09:23 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2007
Location: Münster, Germany
Model: 8700
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Changing Icon on Push Event

Please Login to Remove!

How can I change an application icon (on the desktop) when a push event happens? Is there any function to do that?

Thanks in advance
Dennis
Offline  
Old 02-14-2007, 09:43 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can set the icon with the ApplicationManager, and you can add a listener for push events
Offline  
Old 02-14-2007, 09:50 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2007
Location: Münster, Germany
Model: 8700
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

where can I find the application manager?

Any Code samples? ... I am new to BB programming.
Offline  
Old 02-14-2007, 10:41 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The class ApplicationManager. Take a look at blackberry.com/developer - they have loads of good documents and samples.
Offline  
Old 02-14-2007, 11:03 AM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2007
Location: Münster, Germany
Model: 8700
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I checked the ApplicationManager class but I could not find any method to set an Icon!?
Offline  
Old 02-15-2007, 02:58 AM   #6 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can get ApplicationDescriptor using methods in ApplicationManager.
Then you can create new ApplicationDescriptor using one of existing descriptors and define new icon for this new descriptor.

See BlackBerry_Application_Developer_Guide_Volume_2, chapter "Managing applications"
Offline  
Old 02-15-2007, 03:13 AM   #7 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2007
Location: Münster, Germany
Model: 8700
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

don't I have two application icons then? Or will the new descriptor override the old application?
Offline  
Old 02-15-2007, 03:49 AM   #8 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2007
Model: 8800
Carrier: Orange
Posts: 181
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have a look at the document

You can get the application descriptor for the current application (your one - the one that is running) and set the icon.

BlackBerry.com has an article on listening for pushed data here: BlackBerry
Offline  
Old 02-15-2007, 08:34 AM   #9 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2007
Location: Münster, Germany
Model: 8700
Posts: 33
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I used the applicationmanager. They probelm is when you use the ApplicationManager, that a code signing by RIM is requiered!!
Offline  
Old 02-15-2007, 09:38 AM   #10 (permalink)
CrackBerry Addict
 
Join Date: Jun 2005
Location: Manchester, UK
Model: BOLD
Carrier: t-mobile
Posts: 714
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

if you're going to develop seriously for bb then you're going to have to register for codesigning.
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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