Re: [mono-android] Stepping into standard .NET libs

2012-08-18 Thread Miljenko Cvjetko
Hi Stephan On 2012.08.19 02:36, Stephan Steiner wrote: Mel I think it's a WFC stack issue, too. I'm a bit unhappy though that I get those uncaught exceptions.. that's a "musn't happen" case for me. Throw me any exception back to my code is fine, but just crashing the app isn't. I can understand

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(); });

[mono-android] Surprised that there is still no support for licensing and in-app billing

2012-08-18 Thread Mark Eaton
Don't get me wrong, I love MonoDroid. Linking JAR files is now so easy. I was able to add Google Analytics to my apps with virtually no issues. But what surprises me is the lack of support for licensing and in-app billing (and now subscriptions). As we are talking here surely developers would

Re: [mono-android] Losing Visual Studio Intellisense

2012-08-18 Thread Stephan Steiner
I find myself in the same boat just now. Have you ever found a solution? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Losing-Visual-Studio-Intellisense-tp5576925p5711407.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] Task Parallel Framework issues

2012-08-18 Thread Konaju Games (Dev)
Your log output does not show the log message from the beginning of the constructor, so that would suggest it is happening before the constructor is called. On 19 Aug 2012 05:07, "Stephan Steiner" wrote: > Henon > > The task isn't hanging, it's crapping out somehow without so much as an > inkling

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

2012-08-18 Thread Konaju Games (Dev)
You need to show sample code for how you are trying to call it. Sly On 19 Aug 2012 10:17, "Stephan Steiner" wrote: > Hi > > I have this nice method that performs all kind of magic and allows me to be > really lazy - and then when I try using it on MonoDroid, I get the error in > the title for ev

Re: [mono-android] Stepping into standard .NET libs

2012-08-18 Thread Stephan Steiner
Mel I think it's a WFC stack issue, too. I'm a bit unhappy though that I get those uncaught exceptions.. that's a "musn't happen" case for me. Throw me any exception back to my code is fine, but just crashing the app isn't. After a lot of trial and error I managed to get a combination of ServiceS

Re: [mono-android] Task Parallel Framework issues

2012-08-18 Thread Miha Markic
Try commenting constructor code and see what happens. It might be one of those classes causing problems. Stephan Steiner wrote: Here's the constructor - it dumps a log message (I know that part works because private Controller() { AndroidLogModel.Model.AddLogMessag

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

2012-08-18 Thread Stephan Steiner
Hi I have this nice method that performs all kind of magic and allows me to be really lazy - and then when I try using it on MonoDroid, I get the error in the title for every call. Method signature is as follows: private void processRestResponse(T result, IRestResponse response, Action errorActio

Re: [mono-android] VisualStudio plugin not working

2012-08-18 Thread Miljenko Cvjetko
Hi On 2012.08.18 21:44, Maximilian Wilson wrote: On Sat, Aug 18, 2012 at 10:56 AM, Miljenko Cvjetko mailto: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 inst

Re: [mono-android] Stepping into standard .NET libs

2012-08-18 Thread Miljenko Cvjetko
Hi Stephan On 2012.08.18 21:18, Stephan Steiner wrote: mel, craig I've gone ahead and recreated all my libs using the shared file approach, than made sure I compile my MA project with those. Now I can step into the lib, but something is still very wrong - the debugger ends on the wrong line (st

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 in %localappdata%--I wonder if t

Re: [mono-android] Stepping into standard .NET libs

2012-08-18 Thread Stephan Steiner
mel, craig I've gone ahead and recreated all my libs using the shared file approach, than made sure I compile my MA project with those. Now I can step into the lib, but something is still very wrong - the debugger ends on the wrong line (step into method from a class belonging to my GUI project in

Re: [mono-android] Task Parallel Framework issues

2012-08-18 Thread Stephan Steiner
Henon The task isn't hanging, it's crapping out somehow without so much as an inkling of an indication as to why. And for some reason, the Parralel Tasks window doesn't show any threads whatsoever, even when the task is still running. Looking at the constructor you can see that it can hardly be a

Re: [mono-android] Task Parallel Framework issues

2012-08-18 Thread Stephan Steiner
Here's the constructor - it dumps a log message (I know that part works because private Controller() { AndroidLogModel.Model.AddLogMessage("Initializing controller", 1); receiver = new EventReceiver(); receiver.CallStateChangedReceived += new Eve

Re: [mono-android] VisualStudio plugin not working

2012-08-18 Thread Miljenko Cvjetko
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 in %localappdata%--I wonder if that was my mistake) and I am able to run Android programs on the emulator, including F# programs whi

Re: [mono-android] VisualStudio plugin not working

2012-08-18 Thread Maximilian Wilson
Hi Miljenko, I have Android SDKs and AVDs installed (I let Mono For Android install them for me and it put them in %localappdata%--I wonder if that was my mistake) and I am able to run Android programs on the emulator, including F# programs which is quite exciting. Both the "Target Android Device"

Re: [mono-android] VisualStudio plugin not working

2012-08-18 Thread Miljenko Cvjetko
Hi On 2012.08.18 08:14, Maximilian Wilson wrote: 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 Fo

Re: [mono-android] Task Parallel Framework issues

2012-08-18 Thread Miha Markic
What does your Controller constructor do? Stephan Steiner wrote: Hi I'm having a weird issue using the TPF. In my main activity, in the OnCreate method I'm trying to initialize network connectivity (which potentially could take a while - I need to check if one of two addresses is reachable).

[mono-android] random app freeze

2012-08-18 Thread Breyer, Christian
Hi, we are having real troubles with app freezes right now and since we are running out of ideas, we would need your help. You can read the more detailed introduction to our problem or just head to the issue below. |=== Introduction ===| me and my team are working with mono for