Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Contributor
Posts: 2
Registered: ‎02-18-2013
My Device: BB10 Dev Alpha
My Carrier: Vodacom

ImageAnimator not animating image

Hi all

 

I am trying to create an animated background for an application.

I am not sure of the best way to do this, but we just tried using an ImageView, set to fill the screen with a gif, with an attached ImageAnimator, with started set to true.

The gif shows, but doesn't animate at all. It just shows the first frame.

We have literally copy/pasted the ImageAnimator example from the documentation(although with our own gif), so I am not sure what to do about this...

If there is a better way of doing animated app backgrounds, I am all ears,

 

Thanks in advance for any assistance.

New Contributor
Posts: 2
Registered: ‎02-18-2013
My Device: BB10 Dev Alpha
My Carrier: Vodacom

Re: ImageAnimator not animating image

Well I tried using a bunch of different gifs I had lieing around, and it seems like some work and some don't.

The ImageAnimator also seems irrelevant, as the gifs seem to just be animated or not, whether there is an ImageAnimator or not.

 

I am still open to better ways to make animated backgrounds(videos?), any ideas are welcome.