Hi! I want to display animated gifs in my aplication. As I found out the hard way Android doesn't support animated gifs natively.
However it can display animations using AnimationDrawable: http://developer.android.com/guide/topics/graphics/2d-graphics.html#frame-animation
The example uses animation saved as frames in application resources but what I need is to display animated gif directly.
My plan is to break animated gif to frames and add each frame as drawable to AnimationDrawable.
Does anyone know how to extract frames from animated gif and convert each of them into Drawable?
Thanks!