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?
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With