[android-developers] Re: To play gif from a file
No problem.
Also, what you may want to do is simply use the GifDecoderView class that is also in that project:
FileInputStream fis = null;
try {
fis = new FileInputStream("/mnt/sdcard/piggy.gif");
} catch (FileNotFoundException e) {
e.printStackTrace();
}
GifDecoderView view = new GifDecoderView(this, fis);
setContentView(view);
It seems to work well.
Thanks.
On Wednesday, May 1, 2013 3:50:47 PM UTC-5, Beyza Nur Kökcan wrote:
Thank you so much, it works fine now--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home