In the XXIst century, GIF animations are for me like dinosaurs. Anyway, PK made a library (MovieView) to animate them.What kind of animation does Basic4android support.
I used gif animation but only static image display.
Please help!
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.
Android doesn't support animated gif file so
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?How AnimationPlus and NineOldAndroids work? Loading n images (which you must prepare)?
GIF, if it is so, is the same.
[BTW, what do you think about this question?]
Like i already wrote: it just a workaround because android does not support GIF file format.class to show a gif
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.How AnimationPlus and NineOldAndroids work? Loading n images (which you must prepare)?
GIF, if it is so, is the same.
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.
For sure. But what's the major advantage of this format over the others? I can't see. A PNG image can have 256 colors if you wish.Sometimes 256 colors are enough.
For sure. But what's the major advantage of this format over the others? I can't see. A PNG image can have 256 colors if you wish.
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.Well, then they are very different. A gif is almost a movie.
Yes, I can read.Ops, sorry,I'm talking about animated gif!!!
[edit: the title of the thread... too]
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.
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.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.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?