| Reply | « Previous Thread | Next Thread » |
|
Hi,
I have an application that does a lot drawings - I have a renderer for main GameCanvas running its own thread doing drawImage/drawRegion/drawString etc + flushGraphics. A request for renderer to update screen comes from either keyboard or external network source (in which case I use callSerially to handle such event in sync with event stream, so "update screen" request to the renderer is sent from run() method of simple implementation of Runnable passed to callSerially()). I can even reproduce in emulator, but I do not understand what happens - the background thread "serializes" (via callSerially) several Runnables, but the last one(s) run() method never gets invoked.... ?? Anyone can help me, please? Thanks in advance! h.
Last edited by hnipak : 2006-08-08 at 17:41.
|
|
I will answer myself: you are misusing callSerially().
It appears as if applicaton event queue gets corrupted when one invokes callSerially() multiple times without waiting for a Runnable currently being served (if there is any) to finish. Event stream behind does not work as a queue.... I should read javadoc better ;-) Sorry for bothering here... h. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Direct Screen Access (Please Comment!) | earamsey | General Symbian C++ | 1 | 2006-07-28 19:34 |
| Full screen splash screen | jitendrachhajed | General Symbian C++ | 1 | 2005-07-11 09:01 |
| Drawing in system area(the part draws battery&radio signal) | toughworker | Symbian User Interface | 2 | 2004-12-22 02:28 |
| UI: Full Screen Mode | GENERAL_INFO | Symbian User Interface | 3 | 2004-11-22 07:27 |
| System Help with nokia pc connectivity SDK | gotka | PC Suite API and PC Connectivity SDK | 4 | 2004-07-06 10:56 |