Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is it possible to display animated gif image in emulator Using phoneGap

im using phonegap frame work in android,my problem is animated gif image is not working in emulator.In browser it's working fine.my question is animated images are support to phonegap are not?

like image 678
bhargavkumar040 Avatar asked Sep 15 '11 06:09

bhargavkumar040


People also ask

How do you display a GIF?

GIFs are also easy to open through web-based browsers, including Chrome, Firefox, and Internet Explorer. In the case of Internet Explorer, simply click on the File menu and then Open. Select Browse followed by All Files. Click on the GIF file name and then Open.

Can we use GIF image in react native?

GIF and WebP support on Android​ When building your own native code, GIF and WebP are not supported by default on Android. You will need to add some optional modules in android/app/build. gradle , depending on the needs of your app.

Does .GIF support animation?

GIF image files are commonly used on the web to display graphics and logos. They also support basic animation, which means they're a popular file format for memes on social media sites. Learn more about the key features of a GIF file, how to create one and the advantages and disadvantages of the GIF format.


1 Answers

I just tested this on both a device and an emulator - and, good news, it works on the device, but doesn't in the emulator - only shows the first frame. Both are at 2.3.3, and this discussion (http://code.google.com/p/android/issues/detail?id=3422) suggests that trying on 2.2 may solve the problem, so you can try that.

If you can afford it, I'd recomment testing on the device - it is much faster too, so makes life easier.

like image 196
NPC Avatar answered Oct 13 '22 00:10

NPC