[mono-android] VisualStudio plugin not working

2012-08-17 Thread Maximilian Wilson
Hi there, I'm just getting started with Android development, and I'm having some trouble with the VisualStudio integration that I wonder anyone else has seen. Symptoms that I've noticed: 1.) The "Target Android Device" dropdown on the "Mono For Android" VS toolbar is blank and greyed-out. 2.) Whe

Re: [mono-android] VisualStudio plugin not working

2012-08-18 Thread Maximilian Wilson
rams on the emulator. Visual Studio tends to hang when I hover over variables.) BTW, I am running on Win7 x64. -Max On Sat, Aug 18, 2012 at 9:15 AM, Miljenko Cvjetko wrote: > Hi > > On 2012.08.18 08:14, Maximilian Wilson wrote: > > Hi there, > > I'm just getting started

Re: [mono-android] VisualStudio plugin not working

2012-08-18 Thread Maximilian Wilson
On Sat, Aug 18, 2012 at 10:56 AM, Miljenko Cvjetko < mcvje...@holisticware.net> wrote: > Hi > > On 2012.08.18 19:27, Maximilian Wilson wrote: > > Hi Miljenko, > > I have Android SDKs and AVDs installed (I let Mono For Android install > them for me and it put them

Re: [mono-android] cannot convert from 'lambda expression' to 'System.Action'

2012-08-18 Thread Maximilian Wilson
I can't remember what causes implicit conversion to fail, but you should be able to call the Action ctor explicitly. e.g. new Action(() => Console.WriteLine("Hello")) If your lambda is actually returning a value you'll have to discard the return value, e.g. new Action(() => { obj.ToString(); });

Re: [mono-android] VisualStudio plugin not working

2012-08-19 Thread Maximilian Wilson
Followup: FYI for anyone in my former situation: the "Target Android Device" is now working for me too. I can select between "Prompt For Device" and a specific AVD. I did upgrade to 4.2.5 a while ago, but that is all. So apparently if you're having trouble with that widget, you might try being pat

Re: [mono-android] RES: VisualStudio plugin not working

2012-08-21 Thread Maximilian Wilson
** > > I will appreciate any help. > > Marcelo de Oliveira**** > > ** ** > > *De:* monodroid-boun...@lists.ximian.com [mailto: > monodroid-boun...@lists.ximian.com] *Em nome de *Maximilian Wilson > *Enviada em:* domingo, 19 de agosto de 2012 1

Re: [mono-android] cannot convert from 'lambda expression' to 'System.Action'

2012-08-22 Thread Maximilian Wilson
Wait, you're getting this error at runtime? Usually it's a compile-time error. It would be interesting to see how you are calling it. As an aside, you might want to look into IObservable by the way. It looks a lot like your method signature, but it also abstracts out merging, fork/join, and marsha

Re: [mono-android] tryal version

2012-08-23 Thread Maximilian Wilson
Here's how it should work: 1.) When you Ctrl-F5 from inside VisualStudio (or MonoDevelop?), the emulator picker box shows up. 2.) It has a list of running emulators. 3.) If you haven't started an emulator yet, it allows you to start one, and then it shows up in the box a few minutes later. 4.) Onc

Re: [mono-android] cannot convert from 'lambda expression' to 'System.Action'

2012-08-24 Thread Maximilian Wilson
On Sat, Aug 18, 2012 at 9:03 PM, Sayed Arian Kooshesh wrote: > youdon't need to wrap the action > > you can just do () => {} ; > > Most of the time, yes. In some cases the implicit conversion fails, though as I mentioned I don't remember the specific cases where I've hit this. (I think when the

Re: [mono-android] MSI execution failed

2012-08-27 Thread Maximilian Wilson
On Mon, Aug 27, 2012 at 11:20 AM, deborazb wrote: > I tried to install Mono for Android many times and I couldn't get it right. > If you have any thoughts... > Thanks! > Hi Deborazb, All your prerequisites are fine, but the installer has a problem when installing the VisualStudio components. Th

Re: [mono-android] Unsafe code support

2012-08-27 Thread Maximilian Wilson
On Mon, Aug 27, 2012 at 9:29 PM, Александр wrote: > Can you say, how must i convert 2550136836 to int? > Use a long (int64) instead of an int (int32), if you can. -Max -- Hahahah!!! That is ME laughing at YOU, cruel world. -Jordan Rixon I could not love thee, dear, so much, Loved I

Re: [mono-android] cannot convert from 'lambda expression' to 'System.Action'

2012-08-28 Thread Maximilian Wilson
On Tue, Aug 28, 2012 at 3:28 AM, Stephan Steiner wrote: > And I currently have it again while running - all kinds of methods are red > underlined - I have "Cannot implicitly convert to > ClientInterface.LoginResult" for > > ClientInterface.LoginResult res = smartAppServer.EndMobileLogin(ar); > > (

[mono-android] System.Reactive on Mono?

2012-08-29 Thread Maximilian Wilson
One of the great things for me, so far, about Mono for Android is that so much of the .NET runtime is "just there." (Three cheers for Xamarin!) It makes it easy to forget that .NET libraries sometimes have dependencies on Windows which just can't be there on Android. I think System.Reactive is one

Re: [mono-android] System.Reactive on Mono?

2012-08-29 Thread Maximilian Wilson
o > > Matthew Leibowitz wrote: > >> >> I think there is a mono-reactive... On github. >> >> On Aug 29, 2012 9:53 AM, "Maximilian Wilson" > wilson@gmail.com>> wrote: >> >> One of the great things for me, so far, about Mono for

Re: [mono-android] Emulator

2012-09-05 Thread Maximilian Wilson
Sometimes it has trouble detecting a running emulator. Try exiting VS and starting it again in admin mode. On Sep 5, 2012 7:49 PM, "Canning" wrote: > I am having some trouble in getting the emulator working in the evaluation > version. I am looking at the HelloM4A example. > > Currently I am doin

Re: [mono-android] Failed to install package

2012-09-05 Thread Maximilian Wilson
I haven't seen that error message before. Did you say you are in MonoDevelop, not VisualStudio? In VisualStudio I had to open ConfigurationManager and check "Deploy" before that sample would deploy. (I also had to make sure I specifically targeting an AVD with Google Maps installed on it, or I'd ge

Re: [mono-android] Deserialization issue - List not being filled

2012-09-08 Thread Maximilian Wilson
Hi Stephen, Your code works fine for me in the default Mono/Droid project. CallHistoryModel has two items in it. Attaching my code for reference. -Max On Sat, Sep 8, 2012 at 1:09 PM, Stephan Steiner wrote: > Hi > > Here's a bit of code working perfectly on a PC, but when running it on M4A, > th