Can we show a animated gif image in android by using VideoView? If possible please let me know how it is possible? Else how can I show a gif image in android?.
Did you take a look at this. This might be what you are looking for.
Related
I want to make a small part of the image glow whenever the activity is loaded. Do I need to take the exact coordinates of the image part?
I recommend using a GIF. It can be loaded as an image and won't require any changes in your code. A smallish tutorial can be found in this Youtube video.
I want to display a gif image http://peacechild.org/wp-content/uploads/2012/09/loading.gif
in each element of custom listview.
How to do that?
I know that we have to make use of the movie class but how to use it?
An example would be helpfull.
Thanks
Use this Animated GIF app sample
OR
Use a webview to load it
Use VideoView.
Natively ImageView does not support animated image. You have two options to show animated gif file
1.Use VideoView
2.Use ImageView and Split the gif file into several parts and then apply animation to it
I use ImageSpan to add image into TextView,but It can't animate.
animated GIF is not yet supported in Android.
http://code.google.com/p/android/issues/detail?id=3422
You will need to use multiple images and use animation to achieve it.
Code from the API
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/animation/index.html
Check these Links too:
http://www.youtube.com/watch?v=b1e17InAx_w
http://developingthedream.blogspot.com/2011/01/android-canvas-frame-by-frame-animation.html
http://developerlife.com/tutorials/?p=343
Animated Gif not supported for more standard supported file visit here
and For animated image have look at this code
i want to put .GIF(Animated) image into the imagebutton into android is it is possible? i am using android sdk 1.6 (can it also possible into the image view) i've tried but image just displayes but without animation.. thanks in advance Pragna
Gif is a supported format but I don't think that the animated is.
Here doesn't really say.
I have a problem when trying to display a GIF animation inside of a WebView.
What is the problem and how can I solve it?
Animated gifs are not supported, seems to be a known issue.