Re: [mono-android] Intel Emulator with maps?

2012-06-14 Thread Stuart Lodge
Thanks for the suggestion - will try it Although currently I'm struggling with VMs - all sorts of problems with Win8, WP7 and Intel Android Emulators fighting over access to the virtualisation acceleration - so far Intel Android seems to be winning, but I have a suspicion it's got the inside track

Re: [mono-android] change to a Java cast after 4.2.2

2012-06-14 Thread John Murray
The item are slightly more complex - its a three line per item listbox The adapter is set thus garally2.SetAdapter(ad1, new EventHandler(garlistclick)); yes I did previously have 4.0.x I am not clear what you mean by 'what is the run time type of 'sender' ? it is spec'd as an object then cast

Re: [mono-android] What's up with 4.2.3 debugging?

2012-06-14 Thread nodoid
Hi, The debugger seems to timeout like crazy. I may have to drop back down to 4.2.1 as my current projects need me to be able to debug code quickly and the current version really isn't good at it. Can someone at xamarin look into this? Thanks Paul -- View this message in context: http://mono-

Re: [mono-android] change to a Java cast after 4.2.2

2012-06-14 Thread Jonathan Pryor
On Jun 14, 2012, at 7:46 AM, John Murray wrote: > I am not clear what you mean by 'what is the run time type of 'sender' ? it > is spec'd as an object then cast to android .dialog thus > > public void garlistclick(object sender, DialogClickEventArgs ee) > { Before the cast...

Re: [mono-android] debugger constantly detaches

2012-06-14 Thread Jonathan Pryor
On Jun 13, 2012, at 9:30 AM, Sayed Arian Kooshesh wrote: > this is an idea but since I don't know your design, I don't know if it will > fit. > > > make a > > [Application] > public class myGlApp: Application > { > > public void onCreate() > { > //create a pool of float bytes here that you ca

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

[mono-android] VSNET Debug in Real Device?

2012-06-14 Thread lwalker
Hi, I'm evaluating right now the free version of monodroid, but I've found the emulator debuging absolutly un-usable (it's extremelly slow). Maybe it is of some use for people with a good knowledge of the framework or the android api, but for me, without any previous knowledge, that must test almo

Re: [mono-android] ZXing port to mono for Android

2012-06-14 Thread Redth
Old thread revived Has anyone figured out how to do this with the Camera on the fly? Eg: The barcode scanner app automatically is always looking at the live camera feed for a barcode... -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/ZXing-port-to-mono-for-An

[mono-android] Date time string

2012-06-14 Thread Nosh
Hi I have the following code string time = string.Format("{0}:{1}", hour, minute.ToString().PadLeft(2, '0')); Job.JobEndDateTime = Now.ToString("dd-MM- ") + time + ":00"; The Now.ToString("dd-MM- ") + time + ":00"; occasionally returns *"01-01-0001 0:00:00"* Any ideas TIA -- View

[mono-android] Set Device date and Time

2012-06-14 Thread Nosh
Hi Any ideas on how to set the device date and time via code Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Set-Device-date-and-Time-tp5710345.html Sent from the Mono for Android mailing list archive at Nabble.com. _

Re: [mono-android] debugger constantly detaches

2012-06-14 Thread Sayed Arian Kooshesh
I've had the deconstruct called in debugging testing, is that a flaw? On Thu, Jun 14, 2012 at 10:35 AM, Jonathan Pryor wrote: > On Jun 13, 2012, at 9:30 AM, Sayed Arian Kooshesh wrote: > > this is an idea but since I don't know your design, I don't know if it > will fit. > > > > > > make a > > >

Re: [mono-android] debugger constantly detaches

2012-06-14 Thread Sayed Arian Kooshesh
see the point is, my programs don't run out of memory. If he has a premade pool, it won't run out of memory. POint of style my ass On Thu, Jun 14, 2012 at 11:47 AM, Sayed Arian Kooshesh wrote: > I've had the deconstruct called in debugging testing, is that a flaw? > > > On Thu, Jun 14, 2012 at 10

Re: [mono-android] debugger constantly detaches

2012-06-14 Thread Sayed Arian Kooshesh
anyway, epeen aside, dude. make a premade pool. when you need more, look at mem and the size you can make more. when you have a threshold of like 20 megs left. say, program must exit(gracefully) . get a better phone or uninstall stuff user. anyway sorry jon I get caught up in the momeny :P On T

Re: [mono-android] Dynamic Binding for datatable to Table View

2012-06-14 Thread Meera
Thank you very much Miha, Could you please send me the sample code, so that I can start creating for my Mobile App? Appreciate your help. Thanks Meera -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Dynamic-Binding-for-datatable-to-Table-View-tp5710324p5710347.h

Re: [mono-android] What's up with 4.2.3 debugging?

2012-06-14 Thread devbuzz
Paul - rolling back to 4.2.1 makes all the difference if you need to do lots of debugging. I wasn't having debugging timeouts with 4.2.3 but the debugger would stop in random places above and below breakpoints and it was very slow. -- View this message in context: http://mono-for-android.104710

Re: [mono-android] Set Device date and Time

2012-06-14 Thread Jonathan Pryor
On Jun 14, 2012, at 11:45 AM, Nosh wrote: > Any ideas on how to set the device date and time via code You probably don't. You could probably P/Invoke settimeofday(2), but that requires that you be root, so unless you happen to be running as the root user it won't do any good. http://lin

Re: [mono-android] Date time string

2012-06-14 Thread Jonathan Pryor
On Jun 14, 2012, at 11:04 AM, Nosh wrote: > Hi I have the following code > string time = string.Format("{0}:{1}", hour, > minute.ToString().PadLeft(2, '0')); > Job.JobEndDateTime = Now.ToString("dd-MM- ") + time + ":00"; > The Now.ToString("dd-MM- ") + time + ":00"; occasional

Re: [mono-android] VSNET Debug in Real Device?

2012-06-14 Thread Jonathan Pryor
On Jun 14, 2012, at 8:26 AM, lwalker wrote: > I'm evaluating right now the free version of monodroid, but I've found the > emulator debuging absolutly un-usable (it's extremelly slow). Target API level 14 and use the x86 emulator with GPU acceleration: http://docs.xamarin.com/android/ge

Re: [mono-android] debugger constantly detaches

2012-06-14 Thread Jonathan Pobst
This should be fixed for 4.2.4. I wanted to tremendously thank you for this test case. This is what led us to be able to fix it. For reference, the issue is that the GC process was causing our debugger 'keep-alives' to not fire. When VS didn't hear back from the runtime after a timeout, it