In the XXIst century, GIF animations are for me like dinosaurs. Anyway, PK made a library (MovieView) to animate them.
An alternative is to use AnimationPlus or NineOldAndroids with PNG or JPG files.
In the XXIst century, GIF animations are for me like dinosaurs. Anyway, PK made a library (MovieView) to animate them.
An alternative is to use AnimationPlus or NineOldAndroids with PNG or JPG files.
EVERYthing you will find are libraries (or routines) which parses the gif to get the single frames and to show them afterwards. But not as GIF;most probably the gif is decoded into some images and the images are then animated to give the feeling of an animated gif. But this does not change the statement "Android does NOT support GIFs."
EVERYthing you will find are libraries (or routines) which parses the gif to get the single frames and to show them afterwards. But not as GIF;most probably the gif is decoded into some images and the images are then animated to give the feeling of an animated gif. But this does not change the statement "Android does NOT support GIFs."
GIF is limited to 256 colors and animated GIFs have very basic animation features. GIF images occupy in memory the same room as PNG images with millions of colors so why bother with this old format?
Not really. The main purpose of AnimationPlus and NineOldAndroids is to animate views (by translating them, rotating them, etc.) while your animated GIF is an animated image like the AnimationDrawable of AnimationPlus.
GIF is limited to 256 colors with very basic animation features. GIF images occupy in memory the same room as a PNG image with millions of colors so why bother with this old format.
Not really. The main purpose of AnimationPlus and NineOldAndroids is to animate views (by translating them, rotating them, etc.) while your animated GIF is an animated image like the AnimationDrawable of AnimationPlus.
As I said, "your animated GIF is an animated image like the AnimationDrawable of AnimationPlus". So they are not completely different. It's just that the main purpose of AnimationPlus is to animate views not images, but it can do it. It's also possible with other libraries. None of them, but MovieView, accept GIF because this format is deprecated.
As I said, "your animated GIF is an animated image like the AnimationDrawable of AnimationPlus". So they are not completely different. It's just that the main purpose of AnimationPlus is to animate views not images, but it can do it. It's also possible with other libraries. None of them, but MovieView, accept GIF because this format is deprecated.
Sorry, but I don't understand (because I don't know AnimationDrawable - AnimationPlus).
I asked to myself how the background of that game ("Uno and friends") is done.
I supposed it to be a gif. So, I searched B4X for how to show animated gifs.
Sorry, but I don't understand (because I don't know AnimationDrawable - AnimationPlus).
I asked to myself how the background of that game ("Uno and friends") is done.
I supposed it to be a gif. So, I searched B4X for how to show animated gifs.
If it's a game, then it's very likely that the game engine is used to play the animation. There's absolutely no reason to use a GIF in a game for animations.
The only advantage of animated GIFs is that they can be played by your internet browser without a specialized plugin, and thus they can be used for animated avatars or short videos in forums, but in an Android app, I can't see any advantage over the alternative solutions. Moreover, as said above, their support is not guaranteed.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.