06-17-2010 02:21 PM
Hello experts!
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?
Regards, Rampelotti
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");
HomeScreen.setRolloverIcon(icon);
HomeScreen.updateIcon(regIcon);
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.
06-18-2010 10:17 AM
It´s my solution because i have a enter point.. thanks a lot.
Regards, Rampelotti