Hi

Use android.graphics.Movie to play a GIF file.

InputStream in =
context.getResources().openRawResource(R.drawable.gifAnimFile);
Movie movie = Movie.decodeStream(in);

Get the duration of the gif:  int dur = Movie.duration();
calculate and set the relative time: Movie.setTime(int relTime);

Thank you

On Jul 29, 11:02 am, Kunju Vava <[email protected]> wrote:
> Hi all
> I want to  place a GIF image ia sceen in android , i just create image view
> and place the image from the drawable directory , while running it is
> displaying but it is not anmating what i do????
>
> plse help me ....
> --
> --
> ωιтн яєgαя∂ѕ
> Ratheesh * *...........

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to