0

How to play gif image continuously on canvas. I am using surface view. When app getting loaded that gif image is running only once and then stops automatically. Any ideas to run gif continuously.

URAndroid
  • 6,177
  • 6
  • 30
  • 40
  • in my knowledge .gif format not supported (functionality wise) on android but show you picture only. – duggu Jan 30 '13 at 11:17
  • Is this any help - http://droid-blog.net/2011/10/14/tutorial-how-to-use-animated-gifs-in-android-part-1/ ? – ChrisF Jan 30 '13 at 11:25

1 Answers1

0

You can use gif splitter and then you can use Drawable Animation. You can also set the duration of animation or play it continuously.

Sunny
  • 14,522
  • 15
  • 84
  • 129