09-05-2008 06:34 AM
Hey everyone,
I want to create application icons for my application
and i want it to support all the diffrent models
i saw this article
but its old and dosnt have the new phones in it
what resolutions should i support for me to fit to all the diffrent phones?
thanks in advance,
omri.
09-05-2008 12:29 PM
This is a real problem that RIM needs to address.
You used to be able to get away with one 32x32 icon but now they look horrible on the new devices.
You can try to switch icons at runtime but you have to jump through a few hoops to do that.
I would prefer a way to specify multiple size icons in the JDE and the system chooses the closest match, etc.
Jon
09-05-2008 01:08 PM
I dont mind specifying which icon to use in runtime
i do it anyway for rollover image
i just want to know what sizes of the icons do i need?
09-06-2008 12:26 PM
09-06-2008 05:55 PM
Not an area of expertise, but here is my 2p worth. Hopefully you will get a better reply from someone in RIM after the weekend.
I have searched the KB and not found any article I can point you at, sorry.
You could try running up a few simulators and use
HomeScreen.getPreferredIconWidth().
and find out for yourself?
I believe that most devices, pre Bold, using 32*32 icons. But I also believe that some different themes used 48*48 icons - for a number of devices pre Bold, even including the 8700. Bold seems to use 80*80, but will scale up the icon you supply. We use 32*32 icons, except for the Bold where ours, scaled up, look dodgy.
Hope that helps.
09-06-2008 11:37 PM
This kb article might help, I include all these sizes then use HomeScreen.getPreferredIconHeight() in an autorun entry point to my app to set the best icon for the home screen.
Regards,
Bruce
09-07-2008 12:59 AM
There are many application icons sizes - too many.
Creating an auto run application just to display different icons is bad practice, IMHO.
According to KB04731 only 31 applications can initialize at startup.
If everyone does this it's going to slow down the startup and some apps might not even initialize.
Perhaps RIM can figure out a way to solve this problem with an SVG icon in future releases.
Jon
09-07-2008 01:32 AM
Of course many applications (including mine) use autostart for other purposes already (such as registering various handlers). I agree the icon situation is unfortunate, it would even be better if the icon scaled rather than cropped.