Lazarus

Programming => Operating Systems => Android => Topic started by: xinyiman on November 19, 2019, 04:58:33 pm

Title: Android and GIF animation
Post by: xinyiman on November 19, 2019, 04:58:33 pm
Hi guys, I have a question. I have to do a very long data upload (like 2/3 seconds) in which my app remains blocked. I would like to view a gif before uploading and then hide it when it loads. I tried to do it with what I've learned about images these days but the gif doesn't move. Do I have to use a particular object to do it?
Title: Re: Android and GIF animation
Post by: winni on November 19, 2019, 05:20:13 pm
Hi!

Install BGRAcontrols via Online Package Manager.
The BGRASpriteAnimation shows Animated Gifs.

I don't know if it works with Android.

Winni
Title: Re: Android and GIF animation
Post by: AFFRIZA 亜風実 on November 20, 2019, 04:27:00 am
It doesn't work on Android.
Title: Re: Android and GIF animation
Post by: jmpessoa on November 21, 2019, 04:14:27 am
Hi, xinyiman!

You can try the new LAMW jGif component

and the demo "AppGifAnimationDemo1"

Thank you!
Title: Re: Android and GIF animation
Post by: xinyiman on November 21, 2019, 08:29:01 am
Thank you very much.
TinyPortal © 2005-2018