[mono-android] Weird Nullable Int32 Issue

2012-05-16 Thread Chaitanya
Not sure if anyone will be able to help me out, but I am having a weird issue with nullable properties. In the below class that contains these fields, there is a backing field for the public property. The backing field contains a value, but when I try to access the public property, that does n

Re: [mono-android] Designer Error

2012-05-16 Thread NebulaSleuth
Lluis Sanchez Gual wrote > > >> I am unable to reproduce this problem. Can you send me a sample layout >> (+included files) I could use to reproduce the error? >> > So I was going to give you an example, but I wanted to simply it first. So what I found was very strange indeed. If I created

Re: [mono-android] SimpleAdapter break in 4.2.1

2012-05-16 Thread Igor Russkih
Thanks for explanation, Jon. Actually I've tried JavaList/Dict in first, but made a mistake: Instead of var settings_data = new JavaList>(); used var settings_data = new JavaList>(); And that failed to cast. Thanks for prompt response! Igor On Wed, May 16, 2012 at 7

[mono-android] Build warnings

2012-05-16 Thread Terry151151
Just a note, when I build I keep getting these warnings: Warnings: D:\MyWorkSpace\C Sharp\PeerlessRepSales\PeerlessRepSales\PeerlessRepSales.csproj (Build) -> C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets (_ConvertDebuggingFiles target) -> C:\Program Files (x86

Re: [mono-android] Shortcut disappears on every deploy

2012-05-16 Thread Goncalo Oliveira
Hi Jon, Yes I have tried setting the preserve data setting with the same result. I also tried setting fast deployment, also with the same result. This behavior wasn't present in the previous stable version. Cheers, Goncalo Oliveira Sent from my Windows Phone From: Jonathan Pryor Sent: 16-05-2012

Re: [mono-android] Invalid bridge callback version. V4.2 - What's it mean?

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 6:47 AM, Stuart Lodge wrote: > After upgrading from the alpha to release of 4.2 Your upgrade is apparently incomplete. The "Invalid bridge callback version. Expected 2 but got -2126498020" message is coming from Mono's GC: https://github.com/mono/mono/blob/master/mon

Re: [mono-android] Problems starting an app in 4.2 from VS2010

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 4:03 PM, Stuart Lodge wrote: > But what I think the problem is any file which is not directly referenced. All assemblies to be deployed to the device must be directly referenced by the application project. - Jon ___ Monodroid mail

Re: [mono-android] Shortcut disappears on every deploy

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 2:13 PM, Goncalo Oliveira wrote: > I have this behavior with Visual Studio Within Visual Studio: 1. Click Tools > Options 2. In the left tree view, select Mono for Android > Settings 3. In the right, is the [ ] Preserve data/cache between application deploys checkbox selected

Re: [mono-android] Problems starting an app in 4.2 from VS2010

2012-05-16 Thread Stuart Lodge
Have run out of time for today... But what I think the problem is any file which is not directly referenced. e.g. TwitterSearch referenced Cirrious.MvvmCross.Droid which referenced Cirrious.MvvmCross.Json By referencing Cirrious.MvvmCross.Json directly from TwitterSearch then the process failed

Re: [mono-android] Problems starting an app in 4.2 from VS2010

2012-05-16 Thread Stuart Lodge
I knew it was a mistake sending you the trace from the PCL version Before I get distracted, please remember that I'm seeing the problem in non-PCL code too :) Now the distraction: For the explanation on System.Windows.dll, this is the way that I've gotten PCLv2 Profile104 libraries to run in

Re: [mono-android] Shortcut disappears on every deploy

2012-05-16 Thread Goncalo Oliveira
I have this behavior with Visual Studio cheers On 16 May 2012 19:06, Jonathan Pryor wrote: > On May 15, 2012, at 9:30 PM, Randy Ficker wrote: > > I upgraded to 4.2.1, and now every time I deploy my app, the app’s > shortcut disappears off of my home screen. I can see it disappear right > when

Re: [mono-android] Shortcut disappears on every deploy

2012-05-16 Thread Jonathan Pryor
On May 15, 2012, at 9:30 PM, Randy Ficker wrote: > I upgraded to 4.2.1, and now every time I deploy my app, the app’s shortcut > disappears off of my home screen. I can see it disappear right when the > deploy process says “Removing any previous version..” Is this within Visual Studio or MonoDe

Re: [mono-android] Linking Problem

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 12:11 AM, zdman wrote: > Alright. Well, like I said before, it gives the same error if I add a project > reference to the lidgren project. Could you please file a bug and attach the project. This seems rather odd. Thanks, - Jon __

Re: [mono-android] Mono for Android 4.2.1 SimpleExpandableListAdapter problems

2012-05-16 Thread Jonathan Pryor
There is something very strange going on that nabble.com has full content but the email does not; compare: http://lists.ximian.com/pipermail/monodroid/2012-May/010297.html http://mono-for-android.1047100.n5.nabble.com/Mono-for-Android-4-2-1-SimpleExpandableListAdapter-problems-td

Re: [mono-android] Problems starting an app in 4.2 from VS2010

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 1:11 PM, Stuart Lodge wrote: > Important note: the code below loads PCL libraries, but I can also reproduce > this on non-PCL code if required - the project I first reported the problem > on was "normal monodroid-only code". This seems odd: > 05-16 16:57:34.910 D/Mono( 6

Re: [mono-android] Designer Error

2012-05-16 Thread José M . Rivera
Lluis Sanchez Gual wrote > > Are you using Windows or Mac? MonoDevelop or Visual Studio? > I am using Windows 7 64bits and Visual Studio 2010. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Designer-Error-tp5709771p5709827.html Sent from the Mono for Android ma

Re: [mono-android] Problems starting an app in 4.2 from VS2010

2012-05-16 Thread Stuart Lodge
Thanks Jonathon - I've run with diagnostic - see below - does that help? Important note: the code below loads PCL libraries, but I can also reproduce this on non-PCL code if required - the project I first reported the problem on was "normal monodroid-only code". The diganostic trace looks like it

Re: [mono-android] Compiling the MWC.Droid sample

2012-05-16 Thread gramlin
Thanks for both swift answer and for good suggestions. What I did (after I found the tidbit on 2.2 and too large files) was to strip down the xml file. I guess it could be more or less empty as the client download data from the xamarin server. Just bought a license... thanks for all help. -- Vi

Re: [mono-android] Designer Error

2012-05-16 Thread Lluis Sanchez Gual
Are you using Windows or Mac? MonoDevelop or Visual Studio? El 16/05/2012, a las 18:07, José M. Rivera escribió: > > Lluis Sanchez Gual wrote >> >> I am unable to reproduce this problem. Can you send me a sample layout >> (+included files) I could use to reproduce the error? >> > > http://mon

Re: [mono-android] Mono for Android 4.2.1 SimpleExpandableListAdapter problems

2012-05-16 Thread Jonathan Pryor
On May 15, 2012, at 3:57 PM, Jones wrote: > replacing Dictionary with JavaDictonary solved the class cast exception. But > then I got this message: What message? > So I looked up the bindView-method in SimpleExpandableListAdapter.java. After > a few tries I got the solution to cast the group v

Re: [mono-android] Designer Error

2012-05-16 Thread José M . Rivera
Lluis Sanchez Gual wrote > > I am unable to reproduce this problem. Can you send me a sample layout > (+included files) I could use to reproduce the error? > http://mono-for-android.1047100.n5.nabble.com/file/n5709822/tittle_header.axml tittle_header.axml http://mono-for-android.1047100.n5.nab

Re: [mono-android] Problems starting an app in 4.2 from VS2010

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 6:22 AM, Stuart Lodge wrote: > Since installing 4.2 I've hit a problem where I can't seem to run apps > deployed from VS2010 on my Galaxy Note. > > The app simply doesn't start at all - e.g. see this trace: > > 05-16 09:26:03.125 I/ActivityThread( 5306): Pub > Tutorial.UI.Dr

[mono-android] Can't unsubscribe from this list

2012-05-16 Thread Dean Sadites
Over the past week or two, I've tried (unsuccessfully) to unsubscribe from this list but I never receive the claimed confirmation mail. Whoever the mod or admin is, could you please unsubscribe me from this list ASAP? I'm not sure if others are having the same problem, but you should probably fix

Re: [mono-android] SimpleAdapter break in 4.2.1

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 3:01 AM, Igor Russkih wrote: > It seems SimpleAdapter is broken (found this in 4.2 alpha), 4.2.1 release > also have this issue: This is a "regression" that won't be fixed; see: http://lists.ximian.com/pipermail/monodroid/2012-May/010250.html https://bugzilla.

Re: [mono-android] SimpleAdapter break in 4.2.1

2012-05-16 Thread Jones
Hi, have you tried var item to JavaDictionary instead of Dictionary(java.util.Map is the equivalent to Dictionary in C#)? Regards, Jonas -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/SimpleAdapter-break-in-4-2-1-tp5709793p5709802.html Sent from the Mono for Andro

[mono-android] Problems starting an app in 4.2 from VS2010

2012-05-16 Thread Stuart Lodge
Since installing 4.2 I've hit a problem where I can't seem to run apps deployed from VS2010 on my Galaxy Note. The app simply doesn't start at all - e.g. see this trace: 05-16 09:26:03.125 I/ActivityThread( 5306): Pub Tutorial.UI.Droid.__mono_init__: mono.MonoRuntimeProvider 05-16 09:26:03.125 D/

[mono-android] Error with custom layout inside listview after the update

2012-05-16 Thread Fabione
Hi, after the update to mono develop 3.01 all my code that involve custom list view items make the applications crash. It seems to be impossible to have a custom control like this (text box inside a relative layout) http://schemas.android.com/apk/res/android"; android:id="@+id/container_item

Re: [mono-android] Linking Problem

2012-05-16 Thread zdman
Alright. Well, like I said before, it gives the same error if I add a project reference to the lidgren project. {565129E0-4EE5-4F6F-B403-C3484C9740BE} Lidgren.Network.Android -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Linking-Problem-tp569645

Re: [mono-android] Visual Studio 2010 crashes when opening a new or existing Mono for Android project after upgrade to 4.2.1

2012-05-16 Thread keef103
As per my original post - I did do an Add/Remove and a reinstall (and a reboot). Also I had a recent version of Mono For Android (my original install was April 25th 2012 so it must have been just the prior release). -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Vi

Re: [mono-android] Mono for Android 4.2.1 SimpleExpandableListAdapter problems

2012-05-16 Thread Jones
Of course this is the right snipped: -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Mono-for-Android-4-2-1-SimpleExpandableListAdapter-problems-tp5709314p5709777.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] Mono for Android 4.2.1 SimpleExpandableListAdapter problems

2012-05-16 Thread Jones
Hi, replacing Dictionary with JavaDictonary solved the class cast exception. But then I got this message: So I looked up the bindView-method in SimpleExpandableListAdapter.java. After a few tries I got the solution to cast the group values to Java.Lang.Object: Or is there any other possibili

Re: [mono-android] Visual Studio 2010 crashes when opening a new or existing Mono for Android project after upgrade to 4.2.1

2012-05-16 Thread milop
Sorry. Can't help if logging shows nothing. It's gonna have to be a Xamarin question. But Yes, you can roll back. Just uninstall the latest version (Add/Remove programs) a reinstall the earlier version. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Visual-Studio-

Re: [mono-android] Visual Studio 2010 crashes when opening a new or existing Mono for Android project after upgrade to 4.2.1

2012-05-16 Thread milop
Use the /Log switch when starting VS. It may help point out the problem. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Visual-Studio-2010-crashes-when-opening-a-new-or-existing-Mono-for-Android-project-after-upgrade-to-1-tp5709541p5709759.html Sent from the Mono f

Re: [mono-android] 4.2.1 Nice!

2012-05-16 Thread milop
Naturally. Integrated split view is what I'm talking. Also, I'd love to see integration with TFS. Mike -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-1-Nice-tp5709746p5709758.html Sent from the Mono for Android mailing list archive at Nabble.com.___

Re: [mono-android] Visual Studio 2010 + MFA 4.2.1: can't create Android project

2012-05-16 Thread Advan
Hello Jonathan, Thanks for your reply. I already found this solution somewhere, but unfortunately I don't have that directory. I'm looking forward to an update. I went back to 4.0.6 in the meantime. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Visual-Studio-2010

Re: [mono-android] Visual Studio 2010 + MFA 4.2.1: can't create Android project

2012-05-16 Thread Jonathan Pobst
Hello, One thing that can potentially cause this is if you have the Android preview for the HONEYCOMB api level that was released before Honeycomb was made final. ie: if you have a directory like this in your Android SDK, delete it: ...\android-sdk\platforms\android-honeycomb There are a fe

Re: [mono-android] Debugger disconnects from running code with VMDisconnectedException

2012-05-16 Thread Jonathan Pobst
It generally means the app running on the device crashed for some reason, so it breaks the socket the debugger was using to talk to the app. Generally, there will be a stack trace in the device logcat. It probably won't be pulled automatically into the IDE because the connection was lost, so

Re: [mono-android] Exception while loading assembly

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 3:28 AM, Hänke, Maik wrote: > I'm using project references. In my project file the reference looks like > this: If the path to the .csproj is correct (as Tomasz Cielecki suggested checking), please file a bug at bugzilla.xamarin.com so that we can investigate. Project refere

Re: [mono-android] 4.2 - The "GenerateJavaStubs" task failed unexpectedly.

2012-05-16 Thread Stuart Lodge
Thanks Jon My build for repro-ing this is a little complicated - it involves unsupported PCLs... but it was building on the previous alpha. Hopefully Kuma's repro is more straight-forward Stuart On 16 May 2012 16:18, Jonathan Pryor wrote: > On May 16, 2012, at 8:16 AM, Stuart Lodge wrote: >

Re: [mono-android] Debugger disconnects from running code with VMDisconnectedException

2012-05-16 Thread Stuart Lodge
I've tried to repro this... Have only managed to repro it once in 20 minutes and that was with a complete phone hang. So not sure at present - will try again tomorrow! Stuart On 16 May 2012 16:14, Stuart Lodge wrote: > This dialog came up while an app was running in the debugger in 4.2 from >

Re: [mono-android] 4.2 - The "GenerateJavaStubs" task failed unexpectedly.

2012-05-16 Thread Jonathan Pryor
On May 16, 2012, at 8:16 AM, Stuart Lodge wrote: > I'm tracking down a few problems at present on building old projects now I've > moved up to 4.2 > > This project seems to build but then fails at the java stubs generation with > a stack trace as below. > > Any idea how I can work out what I ne

[mono-android] Debugger disconnects from running code with VMDisconnectedException

2012-05-16 Thread Stuart Lodge
This dialog came up while an app was running in the debugger in 4.2 from VS2010 - nothing obvious went wrong in the app. http://i.imgur.com/x2zCb.png recent debug output window looked like: 05-16 15:10:18.190 D/dalvikvm(16310): GC_EXTERNAL_ALLOC freed 103K, 47% free 2972K/5511K, external 1186K/1

Re: [mono-android] Mono for Android plugin broken in 4.1.1?

2012-05-16 Thread Rodrigo 'r2d2rigo' Diaz
Nevermind, just fixed it by deleting the Honeycomb preview folder as stated in other thread. Everything is working fine now! 2012/5/16 Rodrigo 'r2d2rigo' Diaz > This problem still persists, even wih 4.2.1. Everything installs fine, and > I can open my solution with MonoDevelop. Opening it with V

Re: [mono-android] Mono for Android plugin broken in 4.1.1?

2012-05-16 Thread Rodrigo 'r2d2rigo' Diaz
This problem still persists, even wih 4.2.1. Everything installs fine, and I can open my solution with MonoDevelop. Opening it with VS2010 tells me that the project type is not supported by this installation and the Mono for Android property page cannot be loaded. Tried everything, disabling other

Re: [mono-android] 4.2 - The "GenerateJavaStubs" task failed unexpectedly.

2012-05-16 Thread kuma
I have some problem! :( -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-The-GenerateJavaStubs-task-failed-unexpectedly-tp5709803p5709805.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monod

Re: [mono-android] Compiling the MWC.Droid sample

2012-05-16 Thread Craig Dunn
hmm - from what I can find on the 'net this is an Android 2.2 and earlier issue. my bad for testing on devices/emulators with 2.3 or newer... the solutions seem to be: * use newer emulator/device (2.3 or higher) * move the file to /raw/ and adjust the code accordingly * disable compression in the

[mono-android] 4.2 - The "GenerateJavaStubs" task failed unexpectedly.

2012-05-16 Thread Stuart Lodge
I'm tracking down a few problems at present on building old projects now I've moved up to 4.2 This project seems to build but then fails at the java stubs generation with a stack trace as below. Any idea how I can work out what I need to fix here? Thanks Stuart P.S. 80% of projects are buildin

[mono-android] TeeChart.NET Mono for Android library BETA

2012-05-16 Thread Gemma Gibert
Greetings, Steema is pleased to announce the availability of the first BETA release of the TeeChart for .NET Mono for Android Library. The library is built using TeeChart for.NET's C# code and Xamarin's Mono for Android ID

[mono-android] Invalid bridge callback version. V4.2 - What's it mean?

2012-05-16 Thread Stuart Lodge
After upgrading from the alpha to release of 4.2 I'm seeing this error when starting the autocomplete sample - http://slodge.blogspot.co.uk/2012/05/monodroid-mvvmcross-experiment-in.html I don't understand what it means at all and the stack trace is nonexistent - seems to be somewhere native befor

Re: [mono-android] Exception while loading assembly

2012-05-16 Thread Tomasz Cielecki
I tried creating a sample solution with a similar setup referencing the project from the SharpZLib source code found on sourceforge, and it works just fine. So your path is probably incorrect? My reference look like this: {0E7413FF-EB9E-4714-ACF2-BE3A6A7B2FFD} ICSharpCode.SharpZL

Re: [mono-android] Compiling the MWC.Droid sample

2012-05-16 Thread gramlin
Thanks Craig, it flies through compilation now. However when it is started in the emulator it hangs after the splash-screen. I/mono-stdout( 453): MAIN Load SeedData.xml D/MWC ( 453): MAIN Load SeedData.xml D/asset ( 453): Data exceeds UNCOMPRESS_DATA_MAX (2093449 vs 1048576) E/mono( 4

[mono-android] Visual Studio 2010 + MFA 4.2.1: can't create Android project

2012-05-16 Thread Advan
Hello, Since MFA 4.2.1 I encountered the following issue: when I want to create a new Android Application project (or any Android project for that matter) in VS 2010, I get an error message. When looking up the error in the VS Activity log, I see the following errors: http://mono-for-android.104

Re: [mono-android] Designer Error

2012-05-16 Thread Lluis Sanchez Gual
I am unable to reproduce this problem. Can you send me a sample layout (+included files) I could use to reproduce the error? El 15/05/2012, a las 21:02, NebulaSleuth escribió: > I had the same problem. It was because my design file used an > statement. > > It appears that the designer doesn't

Re: [mono-android] Exception while loading assembly

2012-05-16 Thread Hänke , Maik
I'm using project references. In my project file the reference looks like this: {65BB08BD-4525-473C-BAC3-F1796175528A} ICSharpCode.SharpZLibMobile -Ursprüngliche Nachricht- Von: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.ximian.com] Im Auftrag

[mono-android] SimpleAdapter break in 4.2.1

2012-05-16 Thread Igor Russkih
It seems SimpleAdapter is broken (found this in 4.2 alpha), 4.2.1 release also have this issue: var settings_data = new List>(); sa = Resources.ObtainTypedArray(Resource.Array.settings_text); sa_icons = Resources.ObtainTypedArray(Resource.Array.settings_icons);

Re: [mono-android] Visual Studio 2010 crashes when opening a new or existing Mono for Android project after upgrade to 4.2.1

2012-05-16 Thread Lluis Sanchez Gual
This will be fixed in the next release. As a workaroud, try adding the java bin directory (the one that contains the 'java' command) to the PATH. El 15/05/2012, a las 22:47, Saeid Yazdani escribió: > Ok, I'll wait for an update :P For reference, I think this is the error I got > from visual stud