Re: [mono-android] Trouble with Android.Graphics

2011-12-01 Thread Narcís Calvet
Hi Jon, -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: dijous, 1 / desembre / 2011 12:57 To: Discussions related to Mono for Android Subject: Re: [mono-android] Trouble with Android.Graphics > &g

Re: [mono-android] Trouble with Android.Graphics

2011-12-01 Thread Jonathan Pryor
On Dec 1, 2011, at 5:13 AM, Narcís Calvet wrote: > Thanks! Actually I tried that before but this method is giving memory > consumption problems as well. I try compressing images to save memory but > objects used in this method consume more memory than what it's freed so I > compression code is work

Re: [mono-android] Trouble with Android.Graphics

2011-12-01 Thread Narcís Calvet
Hi Jon, -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: dimecres, 30 / novembre / 2011 15:40 To: Discussions related to Mono for Android Subject: Re: [mono-android] Trouble with Android.Graphics

Re: [mono-android] Trouble with Android.Graphics

2011-11-30 Thread Jonathan Pryor
On Nov 24, 2011, at 7:44 AM, Narcís Calvet wrote: > Has this been fixed? I'm having problems compressing a bitmap as shown in > the method below. DecodeStream returns null and I wonder if it's due to: It's a bug in your code. When you write to a stream, the Position of the stream is at end-of-str

Re: [mono-android] Trouble with Android.Graphics

2011-11-30 Thread Narcís Calvet
droid' Subject: Re: [mono-android] Trouble with Android.Graphics Hi Jon, >This will be fixed in the 1.9.1 release. In the meantime, try going through a MemoryStream + byte[], as I suggest in the above stack overflow answer. Has this been fixed? I'm having problems compressing a bitmap as s

Re: [mono-android] Trouble with Android.Graphics

2011-11-24 Thread Narcís Calvet
teemaSoftware -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: dijous, 29 / setembre / 2011 23:23 To: Discussions related to Mono for Android Subject: Re: [mono-android] Trouble with Android.Graphics

Re: [mono-android] Trouble with Android.Graphics

2011-09-30 Thread Jonathan Pryor
eption or termination. > > Andy > > -Original Message- > From: monodroid-boun...@lists.ximian.com > [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor > Sent: 30 September 2011 14:55 > To: Discussions related to Mono for Android > Subject: Re: [mono-

Re: [mono-android] Trouble with Android.Graphics

2011-09-30 Thread Andrew Sinclair
m [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: 30 September 2011 14:55 To: Discussions related to Mono for Android Subject: Re: [mono-android] Trouble with Android.Graphics On Sep 30, 2011, at 4:58 AM, Andrew Sinclair wrote: > Given that this is a general stream-r

Re: [mono-android] Trouble with Android.Graphics

2011-09-30 Thread Jonathan Pryor
On Sep 30, 2011, at 4:58 AM, Andrew Sinclair wrote: > Given that this is a general stream-related issue, could it be causing the > random issues I've seen around HttpWebRequests? > (http://bugzilla.xamarin.com/show_bug.cgi?id=1031) It's not stream-related, it's wrapped-java-stream related. HttpWeb

Re: [mono-android] Trouble with Android.Graphics

2011-09-30 Thread Andrew Sinclair
-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: 29 September 2011 22:23 To: Discussions related to Mono for Android Subject: Re: [mono-android] Trouble with Android.Graphics Short version: http://stackoverflow.com/questions/7535503/mono-for-android-exit-code-255-on -bitmapfactory-decodes

Re: [mono-android] Trouble with Android.Graphics

2011-09-29 Thread Jonathan Pryor
Short version: http://stackoverflow.com/questions/7535503/mono-for-android-exit-code-255-on-bitmapfactory-decodestream/7590929#7590929 Long version: We map every Java method which takes e.g. java.io.InputStream to a System.IO.Stream, and provide an "Adapter" which subclasses System.IO.S

[mono-android] Trouble with Android.Graphics

2011-09-29 Thread John Heerman
Hello, I've run across a problem trying to retrieve an image from the web and decode the stream or byte array into a bitmap/drawable resource. Each one of the tests below fail when I try to invoke the static BitmapFactory or BitmapDrawable class. I'm running my tests in MonoDevelop on Mac OSX Li