05-26-2009 12:48 AM
05-26-2009 06:30 AM
give me suggestions to proceed with changing the source code of j2me polish screen animation,I tried but was not able to do anything.
steps on how to proceed changing the code
06-08-2009 12:38 PM
Is there any secret to these three steps? If I do them on the same event thread I get the old screen capture instead of the new one. If I push the new screen then do the capture on an InvokeLater thread, I get the new screen capture just fine, but the new screen also flashes briefly which is not desireable.
Is there an additional trick here?
Do it all on the same event thread cycle and you won't see a flash of multiple screens. The magic there is that your screen will have to go through layout and paint before it can display itself anyways... so as long as your animation screen is at all optimized, you shouldn't see any real overhead. But if the animation screen takes seconds to do its bitmap manipulation before displaying itself, then some work needs to be done to speed it up.
* push the screen
* take the screenshot
* push the animation screen (once the animation is done, pop it to reveal the "next" screen)
I have a fade screen transition in my YouTube app (as seen on crackberry) if you want to see an example. Although the speed is set a little fast right now.Message Edited by mreed on 05-21-2009 09:23 AM
06-08-2009 12:58 PM - edited 06-08-2009 12:59 PM