Based on the reference:

http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html

you just create a new AnimationDrawable, then call addFrame() for each frame image, and finally all start() to play it.

-- Kostya

20.01.2011 14:01, Amit пишет:
Hi All,

I am trying to achieve adding the animated gifs into my application.

1- I am able to download the animated gif from server.
2- I am able to decode the animated gif (using my custom decoder) and
have a separate Bitmap corresponding to its frames.

Now I want to animate it using the frame by frame animation. As i
read, to perform the frame by frame animation the first thing that is
required is "animation-list".

I want to know how i can create the required "animation-list"
programatically containing each Bitmap as a separate frame.

Kindly Help.

Thanks&  Best Regards
Amit



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to