I'm programming a small game and it works fine with the normal canvas.
Now I use FullCanvas and the program crashes on series 40 emulator, but without an error and at random times.
It is a small program which does the same every loop, but it always crashes with FullCanvas after a certain time.
I've removed the commands and the call of setCommandListener
and now i don't know what to do.
Does anyone know the reason?
I've solved the problem. It was a thread problem:
Each tick I had the following code:
// do something and draw
I've changed the sleep(1) to sleep(10) and now it works fine on all emulators...
But if anyone can explain that it would be fine