View Single Post
Old 11-24-2008, 09:20 AM   #3 (permalink)
sickned
Knows Where the Search Button Is
 
Join Date: Oct 2008
Model: 7100T
PIN: N/A
Carrier: Unknow
Posts: 42
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Ivanov View Post
enterEventDispatcher never returns, otherwise your application will be closed.

Your WS call has to be done in a separate Thread, which can be either created and started in the screen's constructor or in your UiApplication's constructor before or after pushing your screen
Thanks Ivanov. Can you post some sample code, please?

Another issue is the data from the WS has to be disponible for the UIApplication. How connect two threads?

Thanks in advance.
Offline   Reply With Quote