BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-04-2008, 02:01 PM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
Smiley8's Avatar
 
Join Date: May 2008
Location: Calgary, AB
Model: Torch
Carrier: Fido
Posts: 226
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Change app icon dynamically

Please Login to Remove!

I want to change a given application's icon using a my own custom bitmap.

example:

1 App A is running
2 App A wants to change App B's app icon
3 When step 2 is done App B's new icon will displayed on the HomeScreen
__________________
Visit our website www.toysoft.ca for Cool BlackBerry Apps.

Follow us @ http://twitter.com/toysoft
Offline  
Old 12-05-2008, 04:16 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

HomeScreen offers a method to set the application icon.
To notifiy App B you can use a multitude of ways, i would suggest to post a global event.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 12-05-2008, 02:51 PM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
Smiley8's Avatar
 
Join Date: May 2008
Location: Calgary, AB
Model: Torch
Carrier: Fido
Posts: 226
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by simon.hain View Post
HomeScreen offers a method to set the application icon.
To notifiy App B you can use a multitude of ways, i would suggest to post a global event.
Doesnt HomeScreen deals with the current running app? eg: if i call HomeScree set the icon wouldnt just set the current app A and NOT B?

For global events how do i pass app B the new bitmap?
__________________
Visit our website www.toysoft.ca for Cool BlackBerry Apps.

Follow us @ http://twitter.com/toysoft
Offline  
Old 12-05-2008, 04:59 PM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Correct, HomeScreen changes only the calling applications icon.

You can send 2 int's and 2 Object's with a global event. Your Bitmap is an Object subclass.
Offline  
Old 12-06-2008, 03:58 AM   #5 (permalink)
Talking BlackBerry Encyclopedia
 
Smiley8's Avatar
 
Join Date: May 2008
Location: Calgary, AB
Model: Torch
Carrier: Fido
Posts: 226
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Dougsg38p View Post
Correct, HomeScreen changes only the calling applications icon.

You can send 2 int's and 2 Object's with a global event. Your Bitmap is an Object subclass.
I was thinking about that. I'll try your suggestion. thx
__________________
Visit our website www.toysoft.ca for Cool BlackBerry Apps.

Follow us @ http://twitter.com/toysoft
Offline  




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