[mono-android] Side by side installation of different framework versions

2012-07-23 Thread Matthias
Hello, is it possible to have different M4a framework versions side by side on the same developer machine? Background is pretty simple, in a production environment I'm not able to follow every change of the framework for every software project because I'm not getting paid to fix an error and upgr

Re: [mono-android] Deployment Issue - Nexus 7

2012-07-23 Thread Atsushi Eno
Hello, It is known issue. Android 4.1 changed some permissions with related to deployment and that broke current MfA installation scheme. Deployment to 4.1 emulator still works. It will be fixed in 4.2.5 which will hit alpha channel soon. Atsushi Eno joepro wrote: Hi, I created a very bas

[mono-android] GogleGData API MT + MA on github

2012-07-23 Thread Miljenko Cvjetko
Hi I have managed to prepare Google GData API SDK both for MT and MA. I have tried for WP, but right now not enough free time to do patches etc. https://github.com/moljac/MonoMobile.Google.GData Problematic stuff is not removed, but: registry is extracted as partial class into project for deskt

Re: [mono-android] DialogPreference ClassNotFoundException

2012-07-23 Thread hhodgert
The full exception + stack trace information as obtained from the Android Debug Log: -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/DialogPreference-ClassNotFoundException-tp5710982p5710993.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] GogleGData API MT + MA on github

2012-07-23 Thread Nino Damjanoski
Hi there, good to know about. Thanks man. Nino Damjanoski - Original Message - From: "Miljenko Cvjetko" To: "Discussions related to Mono for Android" Sent: Monday, July 23, 2012 2:18:54 PM Subject: [mono-android] GogleGData API MT + MA on github Hi I have managed to prepare Google GDa

[mono-android] Release version errors

2012-07-23 Thread Goncalo Oliveira
Hi, I'm getting a lot of exceptions with the release version that I didn't have with the debug one. It's getting hard to trace them all, because even though I can get the stacktraces from ddms, I can't replicate them in the debug version, so it's kind of difficult to know what's wrong! So... mayb

[mono-android] Contact woes

2012-07-23 Thread Stephan Steiner
I've seen the previous thread - and not much else on the topic. So it seems extracting information from contacts is still a pain. Then I discovered Xamarin.Mobile and figured it would be the solution to all my problems. So I wrote some code that is basically the same as https://gist.github.com/14

Re: [mono-android] Contact woes

2012-07-23 Thread Jonathan Pryor
On Jul 23, 2012, at 1:52 PM, Stephan Steiner wrote: > Here's my problem - in OnActivityResult > >var book = new AddressBook(this); >book.PreferContactAggregation = true; > >Contact myContact = book.Load(data.Data.LastPathSegment); > > myContact rem

Re: [mono-android] Release version errors

2012-07-23 Thread Jonathan Pryor
On Jul 23, 2012, at 12:46 PM, Goncalo Oliveira wrote: > So... maybe there's a guide somewhere on this? Common errors, things to > avoid, anything?... The most common source of errors is due to linking; a type/member that you're referencing no longer exists: http://docs.xamarin.com/andro

[mono-android] Can't create handler inside thread....sync problem, why?

2012-07-23 Thread JLee
In an Activity I do alot of dataloading. To avoid ui-blocking I call the loading-code over System.Threading.ThreadPool.QueueUserWorkItem(o => Main.LoadData()); (works fine) When the loading is done i want to inform the user via alertdialog. to accomplish this I raise an event in Main.LoadData(). Th

Re: [mono-android] Can't create handler inside thread....sync problem, why?

2012-07-23 Thread Jonathan Pryor
On Jul 23, 2012, at 3:49 PM, JLee wrote: > I already found the solution (RunOnUIThread), but its import to my, to > understand, why C#?, Mono?, Android? shows this behaviour. All three? Just like WPF and System.Windows.Forms, UI objects in Android may only be accessed from the UI thread. Threa

Re: [mono-android] DialogPreference ClassNotFoundException

2012-07-23 Thread Jonathan Pryor
On Jul 23, 2012, at 11:43 AM, hhodgert wrote: > The full exception + stack trace information as obtained from the Android > Debug Log: ... > 07-23 15:35:06.346 I/MonoDroid( 375): UNHANDLED EXCEPTION: > Android.Views.InflateException: Exception of type > 'Android.Views.InflateException' was thro

Re: [mono-android] Side by side installation of different framework versions

2012-07-23 Thread Jonathan Pryor
On Jul 23, 2012, at 4:57 AM, Matthias wrote: > is it possible to have different M4a framework versions side by side on the > same developer machine? For Windows? I don't think so, though I haven't tried. For OS X? Yes, and I have 20 installed. Note that this isn't entirely convenient unless you

Re: [mono-android] Side by side installation of different framework versions

2012-07-23 Thread Netto Max
On Jul 23, 2012 4:58 PM, "Matthias" wrote: > Hello, > > is it possible to have different M4a framework versions side by side on the > same developer machine? > > Background is pretty simple, in a production environment I'm not able to > follow every change of the framework for every software proj

Re: [mono-android] DialogPreference ClassNotFoundException

2012-07-23 Thread hhodgert
Thank you solved my problem, I did not realize that the namespace gets lower cased when generating the package. The oddity with the top level namespace is my attempt to obfuscate my company name for the purpose of posting the question on this forum. The other oddity, the Registration attribute

[mono-android] Can't Deploy to Android Version 4.1.1

2012-07-23 Thread DFX
My Nexus S was just updated to Android 4.1.1 and now I am unable to deploy my app. I get the following error in Visual Studio: "There is a shared runtime on the device whose version cannot be determined. A new runtime will not be deployed. If the runtime needs to be replaced, please manually remov

Re: [mono-android] Can't Deploy to Android Version 4.1.1

2012-07-23 Thread joepro
Hey DFX, >From what I've been told, this is an issue with JB (4.1.1) and should be fixed in M4A 4.2.5 Joe. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Can-t-Deploy-to-Android-Version-4-1-1-tp5711005p5711006.html Sent from the Mono for Android mailing list ar

Re: [mono-android] Can't Deploy to Android Version 4.1.1

2012-07-23 Thread Konaju Games (Dev)
See this recent MfA thread http://mono-for-android.1047100.n5.nabble.com/Deployment-Issue-Nexus-7-td5710987.html Sly On 24 July 2012 10:43, joepro wrote: > Hey DFX, > > From what I've been told, this is an issue with JB (4.1.1) and should be > fixed in M4A 4.2.5 > > Joe. > > > > -- > View this