BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 06-11-2008, 04:56 AM   #1 (permalink)
New Member
Join Date: Jun 2008
Model: 8100
Carrier: verizon
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Blackberry JDE invokeLater behavior

Please Login to Remove!

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.


Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.