Welcome!

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

Reply
New Developer
Posts: 5
Registered: ‎11-06-2008
My Device: Not Specified
Accepted Solution

rollover effect not shown immediately

Hi,

 

i've set rollover icon for my application, but the rollover effect works only after reseting the simulator

is it the expected behavior or the effect should be shown right after installing the app via desktop manager?

it's a 9000 sim v4.6.0.150

New Developer
Posts: 5
Registered: ‎11-06-2008
My Device: Not Specified

Re: rollover effect not shown immediately

the HomeScreen.setRolloverIcon is in a module which has : RIM-MIDlet-Flags-1: 3, in the .jad

so  it is system modul and autostarts

New Developer
Posts: 5
Registered: ‎11-06-2008
My Device: Not Specified

Re: rollover effect not shown immediately

anyone who set rollover icon ever?

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: rollover effect not shown immediately

The BlackBerry simulator does not support loading applications via Desktop Manager, so the behaviour here won't match an actual BlackBerry handheld.

 

The following link has an example on how to set a rollover icon.

 

How To - Define a rollover icon for an application 
Article Number: DB-00467

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 5
Registered: ‎11-06-2008
My Device: Not Specified

Re: rollover effect not shown immediately

Now i've tried the simulator's file/load java program... and even the sample has just worked only after a file/reset too

New Developer
Posts: 5
Registered: ‎11-06-2008
My Device: Not Specified

Re: rollover effect not shown immediately

thx MSohm, you have answered it in an other topic, adding some sleep before SetRolloverIcon solved the problem