BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-28-2007, 09:23 AM   #1 (permalink)
New Member
 
Join Date: May 2007
Model: 8707
PIN: N/A
Carrier: vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default task manager icon does not change

Please Login to Remove!

I have a rim application that needs to change application icon during installation (OTA). The icon image file is located in a resource cod-file that can differ in different installations. I don't want to make a new build for every brand and sign it, I just want to change the resource cod.
It works fine to change the application icon but it does not change in the running applications list. Is there some way to change this icon?

regards
/jol
Offline  
Old 08-28-2007, 10:12 AM   #2 (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

i suspect the application manager gets the icon using something similar to:

public Bitmap getModuleIcon(String moduleDescriptor){
try{
int handle = CodeModuleManager.getModuleHandle(moduleDescriptor );
ApplicationDescriptor[] appDescriptors = CodeModuleManager.getApplicationDescriptors(handle );
ApplicationDescriptor descriptor = new ApplicationDescriptor(appDescriptors[0], null, null);
Bitmap returnBitmap = descriptor.getIcon();
return returnBitmap;
}catch(Exception e){
return Bitmap.getBitmapResource("default.png");
}
}

might explain why it doesn't reflect changes made using the HomeScreen class if that's what you're doing, sorry if i've misunderstood.
__________________
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  
Old 08-30-2007, 02:15 AM   #3 (permalink)
New Member
 
Join Date: May 2007
Model: 8707
PIN: N/A
Carrier: vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, Im using HomeScreen to change it. Is there a was to change the ApplicationDesciptor?

/jol
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

Auction 8GB Kit Lot 2X4GB SODIMM DDR3 Laptop 10600 1333MHz 204pin Ram Memory
$0.99
 Auction 8GB Kit Lot 2X4GB SODIMM DDR3 Laptop 10600 1333MHz 204pin Ram Memory pictureDigital DEC G114 16K UNIBUS MEMORY SENSE INHIBIT MODULE
$175.0
Digital DEC G114 16K UNIBUS MEMORY SENSE INHIBIT MODULE picture1pcUsed Fanuc A20B-3900-0170 memory card Good in condition
$227.0
1pcUsed Fanuc A20B-3900-0170 memory card Good in condition pictureUsed 1Pcs With Cpu Fan And Memory Card Advantech Pcu Board Pca-6178Ve Rev.B1 P Y
$198.57
Used 1Pcs With Cpu Fan And Memory Card Advantech Pcu Board Pca-6178Ve Rev.B1 P Y picture5pcs 25x25x5mm HEAT SINK Anodized ALUMINUM for Memory CHIP CPU GPU IC VIDEO
$0.01
5pcs 25x25x5mm HEAT SINK Anodized ALUMINUM for Memory CHIP CPU GPU IC VIDEO picture






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