Original Post
Hey guys, I've been working on some mobile games for the past two months, and recently I had to add loading screens to an already existing game. Not a big deal, I thought, untill I tried to implement it. I used a Canvas object to set as the current displayable object, and called it´s repaint() function. Needless to say, it didn't work: repaint() is inteded to act as a request, not a direct action. Adding a waiting time after the repaint() call didn't work either. Some hacks, including storing a Graphics object and manually calling paint(), and forcing the midlet only to continue after the paint() function had been called at least once, didn't work either. It's a MIDP 2.0, CLDC 1.1 midlet and I'm testing with the WTK22 emulator, Nokia S60 emulator and Carbide.J emulators. Since the game needs to include loading screens, it's getting a bit troublesome. Anyone here who has encountered the same problem and knows a workaround or solution?