Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Contributor
Posts: 9
Registered: ‎02-23-2010
My Device: 9000; 8100
My Carrier: vodafone;itesalat

cropped icon in the switch application ribbon

[ Edited ]



I am developing for several blackberry platforms. I have icons with different sizes to use for different platforms as in the following list.




When i right click the project, get the properties dialog->Resources tab, and add three different icons with 3 different sizes




The device/simulator does not seem to choose the most appropriate icon size, instead it seems to use the first one. If i just put the largest one which is 80x80 for a device like 8100 in the switch application ribbon it is cropped and unprofessional looking. Other than the switch application ribbon it seems ok. If i choose the smallest it will be small for devices like 9000.


I learnt from other threads on the forum that using HomeScreen.updateIcon() will not update the switch application ribbon icon for earlier OS, which prevents from dynamically choose the appropriate size according to the device.


Any help will be appreciated.


Thanks for advance