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