Hello guys, sorry im not a born englishspeaker...
The last days i tried to get my java games on android. I cannot get over a problem:
onCreate
{
creates surfaceview
setcontentview sview
}
surfaceview created starts working thread
surfaceview onDraw paints the game
In the workingthread i have to wait for an userinput by tapping a special object, so i set it waiting with this.wait ( worked fine with swing). The problem is, the time the working thread waits one time, die gui doesnt paint anything ( black screen) without waiting for an input, everything is painted fine *but useless*
i hope you can explain me the problem, because im googling for hours and everytime i see only tutorials for sleeped threads (e.g. 500ms) but never for full slept threads, waiting for a notify by another thread...


