Possible Duplicate:
Android, move bitmap along a path?
I want to move an image through a curved path.Is it possible in android ? I searched a lot but i can only find about scale,rotate and translate animation.So anyone have any idea please help.Is it possible in android?
You can do a Frame by Frame animation. You can position the object step by step to create a curve. That will be of limited reuse, but you can do it.
Or you can write your own animation to create a subclass of TweenAnimation that can animate along a curve. If you’re good with math and can understand bezier curves then that might be a straight forward option. Once you have that class you could easily animate across any curved path, but it’s more work.
http://en.wikipedia.org/wiki/B%C3%A9zier_curve
Here’s some Java code:
http://www.math.ubc.ca/~cass/gfx/bezier.html