PDA

View Full Version : Blackberry JDE invokeLater behavior


prajakt
06-11-2008, 04:56 AM
Hi ,

I am new to BB development. We have the following scenario.

1) Display the main screen (fullscreen)
2) On click of a button use invokeLater.
3) InvokeLater calls a task that displays a network alert screen and then makes network call.

What I have observed is that the network alter screen never gets displayed until the task completes.We want the alert screen to be displayed immediately.

If we have one more intermediate thread between the invoke later task and network display screen we observe the screen is displayed nicely (but wehave one more extra thread created just for the heck of it).

Does anybody have an idea whats going on here.

Regards
Prajakt