Re: [mono-android] Task Parallel Framework issues

2012-08-17 Thread Meinrad Recheis
On 16.08.2012 21:52, Stephan Steiner wrote: > Hi > > I'm having a weird issue using the TPF. > In my main activity, in the OnCreate method I'm trying to initialize network > connectivity (which potentially could take a while - I need to check if one > of two addresses is reachable). > > > So, withi

Re: [mono-android] Release version errors

2012-08-15 Thread Meinrad Recheis
Your only option seems to be to completely specialize this routine into a switch statement that handles all possible types :-/ -- MR On 14.08.2012 11:26, Goncalo Oliveira wrote: > I'm kind of lost here. I've found exactly what's failing and where. I > have some code that's basically trying to do t

Re: [mono-android] How to handle garbage collection?

2012-07-31 Thread Meinrad Recheis
hi craig, It seems to me, the garbage collector does not run as frequently in mono4android as it does in .net, where it is potentially running a firstgen collection every time you allocate objects. Mono4android garbage-collects very lazy, only when the heap grows beyond certain limits. Anyone with

Re: [mono-android] Random crashes

2012-07-20 Thread Meinrad Recheis
On 20.07.2012 16:00, jayemmess wrote: > henon wrote >> On 20.07.2012 14:28, jayemmess wrote: >>> Hi, >>> >>> I've inherited a project built using Mono for Android and need establish >>> why >>> it is occasionally crashing. I have no prior experience of Android or >>> Mono, >>> but am a .net develo

Re: [mono-android] Random crashes

2012-07-20 Thread Meinrad Recheis
On 20.07.2012 14:28, jayemmess wrote: > Hi, > > I've inherited a project built using Mono for Android and need establish why > it is occasionally crashing. I have no prior experience of Android or Mono, > but am a .net developer. > > There doesn't seem to be any predictability around the crashes a

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-19 Thread Meinrad Recheis
On 18.07.2012 16:46, Jonathan Pryor wrote: > On Jul 18, 2012, at 9:13 AM, Meinrad Recheis wrote: >> Would be nice, if you guys could do a test on a Galaxy Tab 10.1. > I'll see if I can readily obtain one. In theory we have one around here... Any news about my test program on yo

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-18 Thread Meinrad Recheis
On 18.07.2012 16:46, Jonathan Pryor wrote: > On Jul 18, 2012, at 9:13 AM, Meinrad Recheis wrote: >> Would be nice, if you guys could do a test on a Galaxy Tab 10.1. > I'll see if I can readily obtain one. In theory we have one around here... > > Which Android version ar

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-18 Thread Meinrad Recheis
or not. Best wishes, -- Henon > > Thanks, > - Jon > > [0] The horrifying thought? That setaffinity() isn't implemented on your > device. > > On Jul 17, 2012, at 6:54 PM, Jonathan Pryor wrote: > >> On Jul 16, 2012, at 7:49 AM, Meinrad Recheis wrote: >>> Anoth

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-18 Thread Meinrad Recheis
Hi Jon, Thanks for looking over the issue. On 18.07.2012 00:54, Jonathan Pryor wrote: > On Jul 16, 2012, at 7:49 AM, Meinrad Recheis wrote: >> Another info: I just tested with an older Samsung Galaxy S that has only one >> core and couldn't reproduce any deadlocks even with 1

Re: [mono-android] Memory leak

2012-07-18 Thread Meinrad Recheis
Hi Terry, If I were you, I would deactivate one component of suspicion (or replace it with dummy code) and look if the problem goes away or persists. -- Henon On 18.07.2012 03:41, Terry151151 wrote: > I have a program that uses WebRequest and Sqlite. I sends request to the > server and then update

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-16 Thread Meinrad Recheis
Jonathan, Another info: I just tested with an older Samsung Galaxy S that has only one core and couldn't reproduce any deadlocks even with 10 background threads whereas with the dual core Galaxy Tab 10.1 it is really easy to reproduce. -- Henon Dipl. Ing. Meinrad Recheis eqqon GmbH Friedmann

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-16 Thread Meinrad Recheis
On 16.07.2012 13:03, Meinrad Recheis wrote: > I searched around but I don't find a download > link for 4.2.4 beta. How do you get the beta version? Ok, that question has already been answered in another thread. ___ Monodroid mailing lis

Re: [mono-android] Program that reproduces Mono4Android deadlock

2012-07-16 Thread Meinrad Recheis
Hi Jonathan, Thanks for your help! On 13.07.2012 17:39, Jonathan Pryor wrote: > On Jul 12, 2012, at 10:51 AM, henon wrote: >> The problem is, that I am experiencing non-deterministic hangups. When >> hanging I pause the debugger and I always see that the executing thread >> (mostly my code on th

Re: [mono-android] Random Deadlock

2012-07-13 Thread Meinrad Recheis
@xamarin, We really don't want to rewrite the whole app in java, so please give us some assistance. Is somebody on this problem? Cheers, -- henon Dipl. Ing. Meinrad Recheis eqqon GmbH Friedmanngasse 32/20 1160 Wien, Österreich Tel.: +43 (0) 680-31-800-37 Fax: +43 (0) 1-25-330-339-356 meinrad