Re: [mono-android] Non-serializable types in Monodroid?

2011-12-06 Thread DocM
Paul, If you haven't already solved this try adding the missing constructor to the common class: [Serializable] public class common { public int p, a, w, pa; public double bodyWeight, tempBody, tempSurround; public double[,] correctionData = new double[3,

[mono-android] Android InputType constants - namespace?

2011-12-06 Thread DocM
I'm trying to set the InputType of a text view: *editTextAuthKey.InputType = 144; // TYPE_TEXT_VARIATION_VISIBLE_PASSWORD 144* I would rather use a constant definition from the namespace. Intellisense says it should be available in the namespace: *Android.Views.InputMethods.EditorInfo.I

[mono-android] Debugging and MS Visual Studio has stopped working ( MfA ver 1.2)

2011-12-07 Thread DocM
I'm using VS 2010 and Monodorid ver 1.2. Sometimes I get an error on deployment which throws up a VS 2010 windows saying *MS Visual Studio has stopped working* http://mono-for-android.1047100.n5.nabble.com/file/n5055450/VSErr.png If I close the dialog VS 2010 closes but if I ignore it I can co

Re: [mono-android] Android InputType constants - namespace?

2011-12-07 Thread DocM
Thanks Atsushi - much appreciated - I will try that. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Android-InputType-constants-namespace-tp5054578p5055452.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] Debugging and MS Visual Studio has stopped working ( MfA ver 1.2)

2011-12-07 Thread DocM
Thanks Jonathan. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Debugging-and-MS-Visual-Studio-has-stopped-working-MfA-ver-1-2-tp5055450p5057011.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

[mono-android] UnauthorizedAccessException after upgrading to ver 4.0

2011-12-10 Thread DocM
I'm getting the following error when I run my app: System.UnauthorizedAccessException: Access to the path "/data/data/mfaFieldMetrix.mfaFieldMetrix/files/fieldmetrix.db3" is denied. This occurs when I'm trying to create a sqlite database using: SqliteConnection.CreateFile(Program.AppDatabasePath

Re: [mono-android] Backwards compatibility? (Android.App.Application)

2011-12-11 Thread DocM
Hi gramlin, I can only try and answer your code question. I had the same issue - but it was fixed when I added both of the following constructors: //public Conf(IntPtr handle) // : base(handle) //{ //} protected Co

Re: [mono-android] UnauthorizedAccessException after upgrading to ver 4.0

2011-12-14 Thread DocM
Thanks Jon. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/UnauthorizedAccessException-after-upgrading-to-ver-4-0-tp5065129p5073883.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mai

Re: [mono-android] Backwards compatibility? (Android.App.Application)

2011-12-14 Thread DocM
The 'NullReferenceException' error in serialization almost always means there is a constructor missing somewhere in the object graph. If you are deserializing an object it is probably worthwhile to go through the member objects and check they all have explicit constructors. -- View this message in

[mono-android] Background thread - best practice?

2011-12-19 Thread DocM
I'm porting a fairly complex Windows Mobile application to Android and I've got a question about how to port some of the background thread functionality. The application uses a separate thread to synchronize data in the background; the thread stays alive for as long as the application is running a

[mono-android] Android.OS.BatteryManager?

2011-12-19 Thread DocM
Is there a way to get battery state information without registering a receiver? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Android-OS-BatteryManager-tp5087159p5087159.html Sent from the Mono for Android mailing list archive at Nabble.com. __