Re: [mono-android] problem deploying 4.2.2

2012-06-14 Thread Jonathan Pryor
On Jun 11, 2012, at 5:10 PM, Sayed Arian Kooshesh wrote: > btw > i said > STATIC CONSTRUCTOR ;) Yeah, and creating an instance will cause the static constructor to execute (~by definition), especially considering that the instance constructor doesn't do anything: https://github.com/mon

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
static void Main(string[] args) { GC.Collect(); var start = GC.GetTotalMemory(false); Console.WriteLine("Start memory: {0}", start); System.Web.HttpUtility.ParseQueryString(" http://www.yahoo.com?q=1";); GC.Collect();

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
actually, jon, I'm gonna take back my words. You're not idiot and I appreciate your previous help On Mon, Jun 11, 2012 at 4:12 PM, Sayed Arian Kooshesh wrote: > is the .net world just full of idiots? I'm going back to pure c. > > > You should also never use httputility as the* static constructor

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
is the .net world just full of idiots? I'm going back to pure c. You should also never use httputility as the* static constructor causes* a whole meg of memory to vainsh On Mon, Jun 11, 2012 at 4:10 PM, Sayed Arian Kooshesh wrote: > btw > i said > STATIC CONSTRUCTOR ;) > > On Mon, Jun 11, 2012

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
btw i said STATIC CONSTRUCTOR ;) On Mon, Jun 11, 2012 at 4:10 PM, Sayed Arian Kooshesh wrote: > try parsing a query string > > On Mon, Jun 11, 2012 at 4:07 PM, Jonathan Pryor wrote: >> On Jun 11, 2012, at 1:00 PM, Sayed Arian Kooshesh wrote: >>> You should also never use httputility as the stati

Re: [mono-android] problem deploying 4.2.2

2012-06-13 Thread Sayed Arian Kooshesh
try parsing a query string On Mon, Jun 11, 2012 at 4:07 PM, Jonathan Pryor wrote: > On Jun 11, 2012, at 1:00 PM, Sayed Arian Kooshesh wrote: >> You should also never use httputility as the static constructor causes a >> whole meg of memory to vainsh. > > How pray-tell did you come to this conclu

Re: [mono-android] problem deploying 4.2.2

2012-06-11 Thread Jonathan Pryor
On Jun 11, 2012, at 1:00 PM, Sayed Arian Kooshesh wrote: > You should also never use httputility as the static constructor causes a > whole meg of memory to vainsh. How pray-tell did you come to this conclusion? My (really stupid) test shows that it only uses 26k: protected override voi

Re: [mono-android] problem deploying 4.2.2

2012-06-11 Thread Sayed Arian Kooshesh
jon, in general, with monodroid and all programming, you should take care how many object you allocated and how many you stuff in to views. You should also never use httputility as the static constructor causes a whole meg of memory to vainsh. Only crap programmers use it anyway, (like dimitris, w

Re: [mono-android] problem deploying 4.2.2

2012-06-11 Thread John Murray
Tx Jonathan I'll try that - enjoy your beer in San Francisco -Original Message- From: Jonathan Pryor [mailto:j...@xamarin.com] Sent: 11 June 2012 16:27 To: j...@murray.gb.com; Discussions related to Mono for Android Subject: Re: [mono-android] problem deploying 4.2.2 On Jun 11,

Re: [mono-android] problem deploying 4.2.2

2012-06-11 Thread Jonathan Pryor
On Jun 11, 2012, at 4:58 AM, John Murray wrote: > All works as expected except when I try to debug on the test machine – an > xperia arc s running 2.3.5 > > I get > pkg: /sdcard/tmp/com.murray.Agar14-Signed.apk > Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] It looks like you get

[mono-android] problem deploying 4.2.2

2012-06-11 Thread John Murray
I've upgraded to 4.2.2 despite the aversion caused by the VS2010 crashes in v 4.2.1 and am now using mD 3.02 All works as expected except when I try to debug on the test machine - an xperia arc s running 2.3.5 I get pkg: /sdcard/tmp/com.murray.Agar14-Signed.apk Failure [I