06-17-2010 02:21 PM
It´s a worn subject, but doesn´t work to me.
Let me show the problem: I have an application that i have configured the rollover icon on eclipse properties, i´m use 4.612 at blackberry OS and my application, but, when i set the cursor on icon does not change the icon with defined rollover icon configured.
Somebody can help me?
Solved! Go to Solution.
06-18-2010 02:41 AM
I usually do this in my main class and it works out.
Bitmap regIcon = Bitmap.getBitmapResource("icon.png");
Bitmap icon = Bitmap.getBitmapResource("icon_roll_over.png");
06-18-2010 03:32 AM
Check this developer resource for the basics:
in my experience you sometimes have to use the two parameter version of setRolloverIcon and updateIcon, using 0 (or 1 etc) as a second parameter, depending on the number of entry points and the position of the one with the icon.