How can I check if current device supports animated GIF files? Checking OS version isn't reliable, because some Android 2.1 phones have enabled support and there are phones with 2.3 which do not support GIF files.
Asked
Active
Viewed 3,544 times
12
-
2Please see this thread on animated gif's: http://stackoverflow.com/questions/3660209/android-display-animated-gif – Kevin Parker Nov 25 '11 at 16:43
-
Possible duplicate of [Android animated GIF](http://stackoverflow.com/questions/7713384/android-animated-gif) – Muhammad Ali Nov 03 '15 at 21:54
1 Answers
3
Well, the only backwards compatible solution i can think of right now is just get all frames from the gif and animate it yourself in a view.
check out this question to do so: Split GIF into frames
-
Please read the question again. I didn't ask how to play GIF files on older devices. I've asked how to RELIABLY check whether device supports them. I've got no idea who upvoted your answer. – Sebastian Nowak Nov 28 '11 at 14:41