Re: [mono-android] sharing violation and a method which seems to run twice

2011-09-25 Thread SRI
HI, Are you attaching two times the event Handlers to the Button Click. Basically is is this call Button.Click+=delegate{GetWind(ds);} executed twice. Then also this method (GetWind(ds) will execute twice. Best Regards, Sridharan Srinivasan Alias Sri On Sun, Sep 25, 2011 at

Re: [mono-android] sharing violation and a method which seems to run twice

2011-09-25 Thread John Murray
That's just it Sri All I have is ButtonClick+=delegate{GetWind(ds);}; Getwind(ds) is called again only from different buttons which are not involved in this process There's no other eventhandler attached to this particular button Are you saying that if One defines the event handler as a deleg

Re: [mono-android] sharing violation and a method which seems to run twice

2011-09-25 Thread Jonathan Pryor
I think at this point we'll need a complete sample, so that we can see how/where the GetWind() method is invoked. It's also possible that this is a bug in Mono for Android, so filing a complete test case at bugzilla.xamarin.com would help. :-) - Jon On Sep 25, 2011, at 10:13 AM, John Murray w

[mono-android] Date Format in Monodroid

2011-09-25 Thread was
How do I make all dates display in the 'Settings>Date & Time>Select date format' date format in my app? Regards...Andrew -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Date-Format-in-Monodroid-tp4838662p4838662.html Sent from the Mono for Android mailing list ar

Re: [mono-android] sharing violation and a method which seems to run twice

2011-09-25 Thread John Murray
Hi JP Working the weekend again I see - is there no end to your dedication ! But a thousand tx for yr attention I've detached all the code into a simple Android buttonclick demo (pretty much how it all works in my app - it is called as a separate activity ) It demonstrates the same issue of goin

Re: [mono-android] Github.MonodroidSamples.APIDemo Assets filename casing problem

2011-09-25 Thread Miljenko Cvjetko
Hi We have worked this weekend too... Tried to explain layout reuse (like UserControls) and got following exception: MonoDroid.Utils.CommandFailedException: Operation is not valid due to the current state of the object by mandroid.exe Googled and led us to original post (by us/me)

[mono-android] emulation devise

2011-09-25 Thread Prokopis Prokopiou
Hi am a student and am doing know my final project on android using visual studio and c# i don't have tha ability to get the mono application. is there a possibility to have a full version of the application for a period of time so i can done my project? i just want to use my htc mobile as an emul

Re: [mono-android] Date Format in Monodroid

2011-09-25 Thread Glen Hassell
http://msdn.microsoft.com/en-us/library/az4se3k1.aspx // Display using current (en-us) culture's short date format DateTime thisDate = new DateTime(2008, 3, 15); Console.WriteLine(thisDate.ToString("d")); // Displays 3/15/2008 using System;using System.Globalization; public class Examp