Twos
Twos

Reputation: 185

GIF display issue while using WebView(The first frame is always there)

I have a webview and call mWebView.loadUrl("file:///android_asset/test.html"); the content of test.html is just a IMG SRC=... the webview can show the animation GIF, but the issue is the first frame of the GIF is always there while the GIF is animating.

What the problem is and how to fix?

Upvotes: 0

Views: 1425

Answers (1)

skorulis
skorulis

Reputation: 4381

Animated gifs are not supported on all android phones. Animated gif support was only introduced in 2.2 and then only for high end phones that had the memory and CPU to handle them.

See: http://code.google.com/p/android/issues/detail?id=3422 for more information about this.

Upvotes: 1

Related Questions