Re: [mono-android] Issue with 4.2.1

2012-05-15 Thread martze
VS 2010, somehow the problem solved itself after some reboots and several VS 2010 restarts ... -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Issue-with-4-2-1-tp5708710p5709791.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

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

2012-05-15 Thread Matt
I have noticed the same behavior. It started happening in version 4.1. Matt -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Shortcut-disappears-on-every-deploy-tp5709788p5709789.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

[mono-android] Shortcut disappears on every deploy

2012-05-15 Thread Randy Ficker
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.." I recall this used to happen when I first started using MfA until I went into the options an

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

2012-05-15 Thread Craig Dunn
Yep, the breaking API changefrom Monday's released hadn't been updated in these samples. Thanks for the heads-up, I've just pushed the updated code to github. Regards Craig On Wed, May 16, 2012 at 1

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-15 Thread Jonathan Pobst
Yep, that one has been fixed for the new release. Jonathan On 5/15/2012 3:47 PM, Saeid Yazdani wrote: Ok, I'll wait for an update :P For reference, I think this is the error I got from visual studio debugger: System.NullReferenceException was unhandled Message=Object reference not set to an

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-15 Thread Saeid Yazdani
Ok, I'll wait for an update :P For reference, I think this is the error I got from visual studio debugger: System.NullReferenceException was unhandled Message=Object reference not set to an instance of an object. Source=Xamarin.AndroidDesigner StackTrace: at Xamarin.AndroidDesigner.Ja

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-15 Thread Jonathan Pobst
I do not think there are workarounds for the other causes of this. We will have to do a 4.2.2 or 4.2.1.1 shortly to address several issues that have been reported. Jonathan On 5/15/2012 3:20 PM, Saeid Yazdani wrote: No, I dont have that folder in the SDK folder :( Problem should be somethin

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-15 Thread Saeid Yazdani
No, I dont have that folder in the SDK folder :( Problem should be something else... P.S: I upgraded to 4.2.1 on my PC and it works just fine, the problem I have is with my laptop...on my laptop I unistalled 4.2.1 and installed 4.0.6 p2 again and it works fine. I really would like to have both my

Re: [mono-android] Checking update error

2012-05-15 Thread Jonathan Pobst
The updater does not support authenticated proxies. You can grab the msi here and install it: http://download.xamarin.com/priv/2e7ea336e3fd886cf4471bcd3fbec74e/MonoforAndroid/Windows/Setup-4.2.1.msi Jonathan On 5/15/2012 9:46 AM, Jonathan Vazquez Hernandez wrote: HI. When I press the "Check

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-15 Thread Jonathan Pobst
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 Jonathan On 5/15/2012

Re: [mono-android] big problem with update 4.2.1 (crash of visual)

2012-05-15 Thread Jonathan Pryor
On May 15, 2012, at 8:37 AM, michelw wrote: > I've a problem when i try to use a hard device to test my application since > this update, visual crash at the beginning of deploying the application! I don't understand what a "visual crash" is. Is this a Visual Studio crash, or something else? Coul

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-15 Thread Saeid Yazdani
Please if somone knows a fix to this problem, share it. I describe again: 4.2.1 installed fine with no error during installation. But I am not able to start a new android project or open pervious projects. The visual studio just crashes and restarts itself. -- View this message in context: http:

Re: [mono-android] Designer Error

2012-05-15 Thread José M . Rivera
NebulaSleuth wrote > > I had the same problem. It was because my design file used an > statement. > > It appears that the designer doesn't like it, or has a problem resolving > the path. This is unfortunate because I use them whenever I have a > element. > Yes, my design file has the tag

Re: [mono-android] Designer Error

2012-05-15 Thread NebulaSleuth
I had the same problem. It was because my design file used an statement. It appears that the designer doesn't like it, or has a problem resolving the path. This is unfortunate because I use them whenever I have a element. That way my xml isn't so messy. something like:

Re: [mono-android] Designer Error

2012-05-15 Thread José M . Rivera
Lluis Sanchez Gual wrote > > Make sure the initial processing instruction (the tag) is the > first one in the file, and that there is no whitespace before it. > I checked and the tag is the first one on the file and also ther is no whitespace before it. Even though the designer falied when i r

Re: [mono-android] Designer Error

2012-05-15 Thread Lluis Sanchez Gual
Looks like the layout file contains invalid xml. Make sure the initial processing instruction (the tag) is the first one in the file, and that there is no whitespace before it. El 15/05/2012, a las 19:46, José M. Rivera escribió: > I am getting the following error when trying to open a layout

[mono-android] Designer Error

2012-05-15 Thread José M . Rivera
I am getting the following error when trying to open a layout (.axml) with the new Designer: "The layout could not be loaded: PI must not start with xml (position:unknown @1:5 in java.IO.InputStreamReader@17766806)" Any help? ___ Monodroid mailing list

Re: [mono-android] Problem after Updating to 4.2.1

2012-05-15 Thread Jonathan Pryor
On May 15, 2012, at 1:05 PM, Steve Sharrock wrote: > I use TextView.TextColors.DefaultColor property which is an int. Darn, I missed a member. :-/ > I've been using TextView.SetTextColor to restore this "int" default color. > Can the int from DefaultColor be converted to an Android.Graphics.Colo

Re: [mono-android] Problem after Updating to 4.2.1

2012-05-15 Thread Steve Sharrock
I use TextView.TextColors.DefaultColor property which is an int. I've been using TextView.SetTextColor to restore this "int" default color. Can the int from DefaultColor be converted to an Android.Graphics.Color easily? Steve Sharrock Architecture/Design/Programming www.sharkcode.com -Orig

Re: [mono-android] Exception while loading assembly

2012-05-15 Thread Jonathan Pryor
On May 15, 2012, at 4:06 AM, Hänke, Maik wrote: > I updated monodroid from 4.0.6 to 4.2.1 and can’t build the solution anymore. > > I’ve got the following error: > Exception while loading assemblies: System.IO.FileNotFoundException: Could > not load assembly 'ICSharpCode.SharpZLibMobile, Version

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

2012-05-15 Thread Jonathan Pryor
On May 14, 2012, at 1:12 PM, Jones wrote: > SimpleExpandableListAdapter isn't working. I'm just getting the error message > from the log that there is a cast exception. Can you provide the SimpleExpandableListAdapter use? As a guess, try replacing Dictionary use with JavaDictionary: //

[mono-android] Problem when trying to update to 4.2.x

2012-05-15 Thread hdortim
Hi, I am trying to update from 4.1.1-p7 to 4.2.x. But I can not find the monoandroid_x.x.x..msi file. I understood that I have to load the Add-In to get access to the update file, but the VS2010 Add-In seems not to work/load anymore. It shows the following screen und

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-15 Thread dgseeker
I'm seeing the same problem after applying the update -- attempting to open a monodroid project that's been stable for some time now. I tried the /Log switch, but I'm not seeing anything unusual in the log file (no errors or warnings, just the usual loading sequence info stuff). But the Applicati

Re: [mono-android] 4.2.1 issues

2012-05-15 Thread NebulaSleuth
Jonathan Pryor-2 wrote > > On May 15, 2012, at 11:24 AM, NebulaSleuth wrote: >> 4. NetworkInterface.GetAllNetworkInterfaces() seems to not function any >> more. > > It's never worked: > > https://bugzilla.novell.com/show_bug.cgi?id=661106 > https://bugzilla.xamarin.com/show_bug.cg

Re: [mono-android] Linking Problem

2012-05-15 Thread Jonathan Pryor
On May 14, 2012, at 1:49 PM, zdman wrote: > The project(udderchaosmonodroid) throwing the error does not reference > Lidgren.Network.Android. It references MonoGame.Framework.Android which > references Lidgren.Network.Android. udderchaosmonodroid does not use > lidgren.network.android or any o

Re: [mono-android] Problem after Updating to 4.2.1

2012-05-15 Thread Justin Hansen
Wow, can't believe I didn't check that. Thanks! Justin Hansen On May 15, 2012, at 12:15 PM, Jonathan Pryor wrote: > On May 15, 2012, at 12:00 PM, Fencer04 wrote: >> When I run my application I get the following: >> >> E/mono( 301): WARNING: The runtime version supported by this >> applica

Re: [mono-android] Problem after Updating to 4.2.1

2012-05-15 Thread Jonathan Pryor
On May 15, 2012, at 12:00 PM, Fencer04 wrote: > When I run my application I get the following: > > E/mono( 301): WARNING: The runtime version supported by this application > is unavailable. Ignorable > W/( 301): Missing method Android.Widget.TextView::SetTextColor(int) > in assem

Re: [mono-android] 4.2.1 issues

2012-05-15 Thread Jonathan Pryor
On May 15, 2012, at 11:24 AM, NebulaSleuth wrote: > 4. NetworkInterface.GetAllNetworkInterfaces() seems to not function any more. It's never worked: https://bugzilla.novell.com/show_bug.cgi?id=661106 https://bugzilla.xamarin.com/show_bug.cgi?id=1969 > Is there an alternative?

[mono-android] Problem after Updating to 4.2.1

2012-05-15 Thread Fencer04
When I run my application I get the following: E/mono( 301): WARNING: The runtime version supported by this application is unavailable. E/mono( 301): Using default runtime: v2.0.50727 I/monodroid-gc( 301): environment supports jni NewWeakGlobalRef W/monodroid-gc( 301): GREF GC Thres

Re: [mono-android] 4.2.1 issues

2012-05-15 Thread NebulaSleuth
Sweet! It worked. Thanks. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-1-issues-tp5709753p5709755.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list Monodroid@lists.

Re: [mono-android] 4.2.1 issues

2012-05-15 Thread Jonathan Pobst
On 5/15/2012 10:24 AM, NebulaSleuth wrote: 3. Every time an application is deployed, it removes the previous version. This wipes out any local storage, so any configuration files, or downloaded files etc, are wiped out. This is a real pain, as my application needs to be reconfigured (told the se

[mono-android] 4.2.1 issues

2012-05-15 Thread NebulaSleuth
First let me say. I like some of the things in 4.2.x. Good direction guys. But there are a few things I am having issues with since the 4.2.1 upgrade. I am using VS2010. I went from 4.06 to 4.2.1. 1. Even though I compile with no warnings or errors, shortly after compiling, I get "intellisense"

Re: [mono-android] Problems with log4net

2012-05-15 Thread Wojciech Dec
See https://issues.apache.org/jira/browse/LOG4NET-338 Reagrds /WD/ -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Problems-with-log4net-tp4641046p5709751.html Sent from the Mono for Android mailing list archive at Nabble.com. __

[mono-android] Checking update error

2012-05-15 Thread Jonathan Vazquez Hernandez
HI. When I press the "Check now" link in the Visual Studio IDE to get update, I get an error "The remote server returned an error: (407) Proxy Authentication Required." Thank you advance for the help. *Attention* This electronic messa

Re: [mono-android] Suggestions for mono compatible logging framework

2012-05-15 Thread Wojciech Dec
See https://issues.apache.org/jira/browse/LOG4NET-338 Reagrds /WD/ -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Suggestions-for-mono-compatible-logging-framework-tp5072214p5709750.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] 4.2.1 Nice!

2012-05-15 Thread Tom Opgenorth
If you right click on the file, then select "Open With..." you can then pick "XML (Text) Editor" and/or set it as your default for that file type. But yeah, the ability to see the XML and the layout at the same time would be a cool feature to have in V2. On Tue, May 15, 2012 at 7:45 AM, milop wr

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

2012-05-15 Thread Tom Opgenorth
Hmmm this sounds like the breaking change that was introduced in 4.2: http://docs.xamarin.com/android/Releases/Mono_For_Android_4/Mono_For_Android_4.2#Breaking_Changes "Due to the event listener change, we had to replace ItemEventArgs which was used in some limited classes with AdapterView.ItemCli

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

2012-05-15 Thread Matthias Mucha
This seems to be due to the update released recently. (2 days or something) Give them some time to update the examples too. On Tue, May 15, 2012 at 6:24 AM, gramlin wrote: > After having worked with Monotouch for a year and a half I downloaded > Monodroid and the MWC-sample. I think it is a bit

[mono-android] 4.2.1 Nice!

2012-05-15 Thread milop
Thanks for the update. No problems here and the enhancements are sweet. ItemEventArgs got me only in one place. No problem. The layout designer is awesome ... BUT, I can't view the XML. I know, I know, you're saying "Jeez ...". It is important. V2? Thanks for all the hard work. Mike -- Vie

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-15 Thread keef103
Re-reading my post I see I have one technical mistake - when I said "Then at 4PM EST today (04.12.2012)" I put the wrong date I meant May 14, 2012 (05.14.2012 do'h!) which was yesterday. I accidently went back in time (Marty, it's your kids!) -- View this message in context: http://mono-for-andro

Re: [mono-android] 4.2.0 and up problem

2012-05-15 Thread ryanwatson
I've just installed the latest stable release 4.2.1 and seems to have solved the problem. Date: Mon, 14 May 2012 20:02:43 -0700 From: ml-node+s1047100n5709728...@n5.nabble.com To: ryan.wat...@live.co.za Subject: Re: 4.2.0 and up problem I have a similar problem with 4.2 installed as w

[mono-android] Compiling the MWC.Droid sample

2012-05-15 Thread gramlin
After having worked with Monotouch for a year and a half I downloaded Monodroid and the MWC-sample. I think it is a bit silly that Xamarin-provided samples does not compile in their own products straight away. Ending up with 14 compiler errors and 18 warnings. * MWC/MWC.Droid/Screens/Exhibitors/E

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

2012-05-15 Thread keef103
After upgrade to 4.2.1 Visual Studio 2010 crashes when I create a new Mono for Android project or when I attempt to open an existing Mono for Android project I have been running VS 2010 and building and debugging Monodroid projects with no issues. Then at 4PM EST today (04.12.2012) I went to creat

Re: [mono-android] Linking Problem

2012-05-15 Thread zdman
The project(udderchaosmonodroid) throwing the error does not reference Lidgren.Network.Android. It references MonoGame.Framework.Android which references Lidgren.Network.Android. udderchaosmonodroid does not use lidgren.network.android or any of the methods in monogame that use it. It was workin

[mono-android] Mono for Android 4.2.1 SimpleExpandableListAdapter problems

2012-05-15 Thread Jones
Hi, I've got a problem after changing to version 4.2.1 today. SimpleExpandableListAdapter isn't working. I'm just getting the error message from the log that there is a cast exception. Build version is 3.1 and I tested it on 3 devices: one tablet with ICS, one tablet with Honeycomb and one tv box w

Re: [mono-android] Exception while loading assembly

2012-05-15 Thread Hänke , Maik
What do you mean with Mono for Android profile? I tried a rebuild and I tried to create a new Android Library Project and copied all sources to the project, but I got the same error, too. -Ursprüngliche Nachricht- Von: monodroid-boun...@lists.ximian.com [mailto:monodroid-boun...@lists.x

Re: [mono-android] big problem with update 4.2.1 (crash of visual)

2012-05-15 Thread michelw
i remove mono on the device, but it's the same problem Le 15/05/2012 14:37, michelw a écrit : Hi I've a problem when i try to use a hard device to test my application since this update, visual crash at the beginning of deploying the application! I've no logs, nothing! (command line too,

Re: [mono-android] Issue with 4.2.1 Type is defined in assembly that is not referenced.

2012-05-15 Thread Andrey
Looks like the problem is with a parent class from third party library which is derived from Android.Views.ViewGroup :( Need to wait for an update from them that supports 4.2.1 -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Issue-with-4-2-1-Type-is-defined-in-asse

[mono-android] Issue with 4.2.1 Type is defined in assembly that is not referenced.

2012-05-15 Thread Andrey
After updated to 4.2.1 I can not build one of my projects. Getting error: "The type 'Android.Views.ViewGroup' is defined in an assembly that is not referenced. You must add a reference to assembly 'Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'." Any ideas, cause I don't have

[mono-android] big problem with update 4.2.1 (crash of visual)

2012-05-15 Thread michelw
Hi I've a problem when i try to use a hard device to test my application since this update, visual crash at the beginning of deploying the application! I've no logs, nothing! (command line too, no log about this problem) On avd, it's ok.. i reboot my windows... Someone have this problem? a

Re: [mono-android] Exception while loading assembly

2012-05-15 Thread Tomasz Cielecki
Have you tried rebuilding SharpZLib with the new Mono for Android profile? On Tue, May 15, 2012 at 1:41 PM, Saeid Yazdani wrote: > Exact same problem here... > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/Exception-while-loading-assembly-tp5709731p5709739.

Re: [mono-android] Exception while loading assembly

2012-05-15 Thread Saeid Yazdani
Exact same problem here... -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Exception-while-loading-assembly-tp5709731p5709739.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing li

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-15 Thread Saeid Yazdani
I have exactly the same problem. I am also not able to open existing android projects, or even create new ones. But I think I could make a winform project but visual studio vas performing far slower than expected! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Visu

Re: [mono-android] msbuild crash in ResolveLibraryProjectImports task in MFA v4.1

2012-05-15 Thread mcleodia
Hi Jon The problem is that we use scons to autogenerate an msbuild file which has an absolute path to its OutputPath, which is a slightly unusual case. I have attached such a file (located in build\Android\release\Core\OssCore.csproj). Unzip the attachment to exactly the following location: c:\

Re: [mono-android] Problem binding Sybase SQL Anywhere UltraLiteJNI12.jar

2012-05-15 Thread James Lavery
Hi Jon, Thanks - renaming worked. I think I may want to remove it in fact - I'll try that too. Jonathan Pryor-2 wrote > > If you need the package, you may want to rename one of the members by > adding the "managedName" attribute: > > > path="/api/package[@name='com.ianywhere.ultra

Re: [mono-android] updated to 4.2.0

2012-05-15 Thread Miljenko Cvjetko
Hi On 2012.05.14 20:00, Wally McClure wrote: I'm seeing the same behavior in 4.2.1. Also, when I try to go to the VS "View Designer" option, I get the content loaded into the xml text based editor in VS. I noticed that only with 4.2.1-beta which I had for one day. 4.2.1 stable opens designer

[mono-android] Exception while loading assembly

2012-05-15 Thread Hänke , Maik
Hello, I updated monodroid from 4.0.6 to 4.2.1 and can't build the solution anymore. I've got the following error: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'ICSharpCode.SharpZLibMobile, Version=0.85.5.452, Culture=neutral, PublicKeyToke