Re: [mono-android] Enhancement code for Spinner

2013-02-28 Thread krish
hi,its glad to tell i saved spinner value(courseNumbers) in database with ur assistance code...but when i click on retreive button now i want to populate that spinner with courses based on the value(courseNumber) in database based on sno... ex data in database: snocourseaddress 1000 303

Re: [mono-android] HttpWebRequest and ServicePoint.SetTcpKeepAlive

2013-02-28 Thread Nikola
Allright, that makes sense. Apologies for not realizing the difference. > ... when we rebase our products upon Mono 3.0, which we are doing for > Evolve ... Does this mean that sometime around the Evolve date (i.e. mid-April), there is going to be a new release based on Mono 3.0? Is there perhaps

Re: [mono-android] HttpWebRequest and ServicePoint.SetTcpKeepAlive

2013-02-28 Thread Jonathan Pryor
On Feb 28, 2013, at 12:26 PM, Nikola wrote: > On Mono for Android, this method does not seem to be available, which is a > bit strange, since I can see it on github - > https://github.com/mono/mono/blob/master/mcs/class/System/System.Net/ServicePointManager.cs#L278. > Seeing on github doesn't

Re: [mono-android] Can't start remove service

2013-02-28 Thread Jeremy A. Kolb - ARA/NED
False alarm. It does start. It just wasn't showing the toasts that I put in and it was taking a very long time. -Original Message- From: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Jonathan Pryor Sent: Wednesday, February 27, 2013 5:44 PM

Re: [mono-android] Enhancement code for Spinner

2013-02-28 Thread Paul Johnson
Hi, A nice simple solution is this using System; using System.Collections.Generic; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using Android.Widget; using Android.OS; namespace spinner { [Activity (Label = "spinner", MainLauncher = true)]

[mono-android] HttpWebRequest and ServicePoint.SetTcpKeepAlive

2013-02-28 Thread Nikola
I am using SetTcpKeepAlive method (http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.settcpkeepalive.aspx) to distinguish between those cases when a particular HttpWebRequest takes long time to complete and when there is a network failure. On Mono for Android, this method doe

Re: [mono-android] Enhancement code for Spinner

2013-02-28 Thread krish
hi... here is also getting error at e.Position...here the intellisense is not displaying Position property of e...even i m forcebly inserting getting error like this courseCode = string.Empty; spinner.Click += (object s,EventArgs e) => { Spinner t = (S

Re: [mono-android] Enhancement code for Spinner

2013-02-28 Thread Paul Johnson
Hi, and i had another error at switch (t.ItemSelected)/// Error is The event 'Android.Widget.AdapterView.ItemSelected' can only appear on the left hand how to rectify that error... reply as soon... Use t.Id or possibly t.GetItemIdAtPosition(e.Position). I've used t.Id without a hitch be