BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 09-21-2007, 07:02 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jul 2007
Location: Morocco
Model: 7250
PIN: N/A
Carrier: non
Posts: 15
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default non- event thread

Please Login to Remove!

Hello
anyone have any idee about this exception

pushModalScreen called by a non- event thread
Offline  
Old 09-21-2007, 07:38 AM   #2 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

you have to synchronize on the event thread to have your worker threads update the ui. see Application.getApplication().getAppEventLock()

hth,
simon
__________________
java developer, Devinto, hamburg/germany
Offline  




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