Re: [mono-android] Problem with binding of Google analytics tracker library

2012-06-06 Thread Petr Slováček
Jon, This is what I get in application output window each time it tries to send the data: W/GoogleAnalyticsTracker(32723): Problem with socket or streams. W/GoogleAnalyticsTracker(32723): org.apache.http.NoHttpResponseException: The target server failed to respond W/GoogleAnalyticsTracker(32723

Re: [mono-android] Problem with binding of Google analytics tracker library

2012-06-06 Thread Petr Slováček
m] On Behalf Of Jonathan Pryor Sent: 6. června 2012 19:59 To: Discussions related to Mono for Android Subject: Re: [mono-android] Problem with binding of Google analytics tracker library On Jun 6, 2012, at 11:03 AM, Petr Slováček wrote: > This is what I get in application output window each time

Re: [mono-android] Click event in Custom Adapter fire multiple positions

2012-06-07 Thread Petr Slováček
I had a similar problem when converting my Java app to Mono. check.Click += (sender, e) => { ... }; This code will add a new event listener each time GetView function is called. In C# event can have more than one listener assigne

Re: [mono-android] Problem with binding of Google analytics tracker library

2012-06-07 Thread Petr Slováček
ike this? I haven't this problem when using this library in my original Java application. Petr -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: 6. června 2012 19:59 To: Discussions related to Mono

Re: [mono-android] Problem with binding of Google analytics tracker library

2012-06-07 Thread Petr Slováček
Jon, I just tried my original Java app to be sure and I found out that the problem occurs there too. I just didn't noticed that earlier. So it seems to be a problem of that Google Java Library. Sorry to disturb you with that. Thanks for your time Petr

[mono-android] Check for internet connection fails on Vodafone 858

2012-06-25 Thread Petr Slováček
Hello everyone, I'm using this piece of code to check if internet connection is available: ConnectivityManager conMgr = (ConnectivityManager)context.GetSystemService (Context.ConnectivityService); bool output = conMgr.ActiveNetworkInfo != null && conMgr.ActiveNetworkInfo.

Re: [mono-android] Check for internet connection fails on Vodafone 858

2012-06-25 Thread Petr Slováček
Well I answer it myself... :-) This one works on Vodafone 858 also: ConnectivityManager conMgr = (ConnectivityManager)context.GetSystemService (Context.ConnectivityService); return conMgr.ActiveNetworkInfo != null && conMgr.ActiveNetworkInfo.IsAvailable && conMgr