I have an application which is big enough to take some time to load on older Nokia phones, load time is around 25 seconds, and instead of static loading screen I would like to have a progress bar displaying the load progress.
The situation is like this. There is a loading canvas screen, that is first shown. Then the loading of all other data starts. In the canvas class there is a timer thread that sleeps ~500ms and calls repaint and serviceRepaints [these get called properly]. However the screen is never repainted, and I suspect the problem is that main thread that is responsible for redraw events is loading classes and thus never repaints the screen..
How can it be implemented properly, I have seen ie. games that during initial load have a progress bar that shows the progress of the game loading...
Sorry for the long description, and thanks for any help.