Upplication.getEventLock() doubt -----taking a lot of time to update screen

Please Login to Remove!

hi

I hv a application which shows a mainScereen (mainScreen1) when the user first runs it. Then a backgroud thread also starts and retireves data from a server and then pushes another mainscreen(mainscreen2) , inside the thread i hold the application lock using the following code:

but the probelm is it takes a lot of time around 30 secs to update the screen i.e. pushing mainscreen2, while the data retrieval from the server takes only 3 seconds. Does anybody have any idea how this can be solved.

I am not sure if this post helps..
Go to google and search for "Problem while trying to close a popup dialog"
It's also a post from BlackBerryForums. I couldn't post any links because I dont have enough post (must be 10 or greater).

It talks about evenlocks and etc.

In my application, I have a PIMListener that listens any add, remove, update events. Whenever my app captures a event, it writes to my screen. I dont know how long it take to update the screen since the way I tested is to go to Address Book and mess around with it to get my app captures events. However, I've never encounter the 30+ seconds waiting to be updated to screen