I want develop an app in Java for S40 (ASHA 501) where I need to move object in background image. I mean lets say an image of anything is moving right to left over background image. So I think I need to use timer.

We can also achieve same by changing background image (which have object placed differently) and make illusion that object is moving from right to left.

But I dont know how to use timer to change image on Java for Asha phones?

If anybody can give me some example code for this, or similar thing would be very helpful and appreciated.