12

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.

tshepang
  • 12,111
  • 21
  • 91
  • 136
Sebastian Nowak
  • 5,607
  • 8
  • 67
  • 107

1 Answers1

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

Community
  • 1
  • 1
Nick
  • 1,733
  • 1
  • 14
  • 24
  • 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