Android animated GIF (Cupcake)

大憨熊 提交于 2019-11-30 15:45:54

问题


I've used animated GIFs in Android pre cupcake however my old code no longer works. To be exact:

Movie.decodeStream

Always returns null... Does anyone have any workarounds/fixes to play animated GIFs?


回答1:


There's a bug report for this. Looks like the only option currently is to split it up and do frame-by-frame animation manually. There's instructions in the docs for how to do this.



来源:https://stackoverflow.com/questions/1383246/android-animated-gif-cupcake

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!