[mono-android] Android.Graphics.Movie class working in 4.0.1

Jonathan Pryor jonp at xamarin.com
Wed Jan 4 12:07:52 EST 2012


On Dec 24, 2011, at 1:56 PM, HSSoftware wrote:
> I open a stream to an animated GIF, either in Resources.Drawable or Assets,
> and then Movie.DecodeStream. I get a Movie object back, but Height(),
> Width(), and Duration() all return zero.
> 
> Is there a problem with this class?

Not that I'm aware of. I've seen very few binding bugs of late (unless it's related to generics), so I doubt it's a binding bug. Thus, the thing to do would be to load the same resource within Java and see if our behavior is the same. If it is the same (i.e. those methods return 0), then that's Android for you. If Java behaves differently, then that's a bug that we need to know about and fix.

Thanks,
 - Jon



More information about the Monodroid mailing list