Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Talk:Adding a sliding effect to Images in Java ME

From Wiki
Jump to: navigation, search
26 Sep
Article Review by Larry101 (20090926)

This article demonstrates a nice animated effect for transitioning between images in Java ME. It shows how an image can be split into slices, which are then shown to “slide” on or off the screen. The code example is well commented and easy to follow because of the use of meaningful property and method names. Various parameters are also provided which are customizable, such as the number of slices an image is split into, the direction the sliding takes place, and whether the image slides in or out.

While the technique demonstrated probably only has limited application, it shows the kind of professional looking image effects that can be created in Java ME with a little effort. Using similar techniques which make use of the setClip and translate methods of the Graphics class, many interesting and professional transition effects can be created.


Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.