tags:

views:

640

answers:

3

hi,in my application i want to display my own ads for that i want to dispaly my ads in image and it should be animated.So how to display animated images

A: 

You can do frame-by-frame animations using an AnimationDrawable object.

CommonsWare
please provide some sample code
deepthi
A: 

Best place to start is in the official guide about 2D graphics. Scroll down to the bottom where it talks about Tween animation and frame-by-frame. After that, Google around for animation tutorials. There are many very good ones out there.

http://developer.android.com/guide/topics/graphics/2d-graphics.html

Steve H
A: 

You can find a frame by frame example using AnimationDrawable at android frame by frame animations

dtmilano