Skip to content Skip to sidebar Skip to footer

Animated Gif In Android

i want to use animated gif in android. hows this possible? is it compatible in 1.6,2.0?

Solution 1:

Animated gif support is not available in 1.6 SDK though it is available in 2.2(Froyo)

http://code.google.com/p/android/issues/detail?id=3422

Solution 2:

you can decompose the animated gif into frames (separate gif files) and animate them using an animationdrawable in an imageview.

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

yes, it is compatible with 1.6.

Post a Comment for "Animated Gif In Android"