我想使用的WebView显示GIF动画。它工作正常,在大多数设备,但还是有些人不支持动画,则显示一个静态的GIF。
I'm trying to display animated GIF using WebView. It works fine on most devices, but still some of them doesn't support animations and a static GIF is displayed.
我如何检测设备是否支持GIF动画在web视图,因此如果没有我可以显示相应的提示信息?
How can I detect if the device supports animated GIFs in WebView, so I can display appropriate message if it doesn't?
讨厌这样说,但要找出最有效的方法。打开一个GIF图像,如果它不玩......它不支持的设备上
Hate to say it this way, but its the most effective way to find out. Open a GIF image, and if it doesnt play... Its not supported on the device