Re: [mono-android] [MonoTouch] sharing code between mono touch and mono for android

2012-02-27 Thread Felix Collins
On 28/02/2012 4:48 p.m., James Briant wrote: Yes they can be, but the examples from the book aren't, nor are the ones from FlightsNorway. If they /are/ in the same solution, it doesn't help refactoring at all, because there are two separate project hierarchies: refactoring Library.Droid will

Re: [mono-android] [MonoTouch] sharing code between mono touch and mono for android

2012-02-27 Thread Felix Collins
2012 at 11:30 PM, Miljenko Cvjetko mailto:mcvje...@holisticware.net>> wrote: Good morning On 2012.01.31 01 :59, Felix Collins wrote: What is Project Linker? Byproduct of Patterns and Practices project called Prism where MS guys explain code sharing on WPF, SL and l

Re: [mono-android] Can not build WCF proxy generated by slsvcutil.exe 'ChannelBase' could not be found

2012-01-25 Thread Felix Collins
I finally figured out what I was doing wrong. I have projects in the same solution that target .net and mono android/touch. Not surprisingly the proxy as generated from slsvcutil.exe won't compile when targeting .net but does build for mono. The solution was to enclose the CreateChannel overr

Re: [mono-android] Can not build WCF proxy generated by slsvcutil.exe 'ChannelBase' could not be found

2012-01-23 Thread Felix Collins
I accidentally found the issue. By commenting out the cookie container stuff, suddenly the error about the ChannelBase went away! Still not sure what the issue was but it seems to work now... On 24/01/2012 9:42 a.m., Felix Collins wrote: Woops, posted to the wrong list. Although it is still

Re: [mono-android] Can not build WCF proxy generated by slsvcutil.exe 'ChannelBase' could not be found

2012-01-23 Thread Felix Collins
Woops, posted to the wrong list. Although it is still relevant here I suppose. I tried generating the proxy with the silverlight 4 tools and the output is identical apart from the version number in the comments. On 24/01/2012 3:21 a.m., Willem Meints wrote: Hi Felix, Can't say that I recogni

[mono-android] Can not build WCF proxy generated by slsvcutil.exe 'ChannelBase' could not be found

2012-01-23 Thread Felix Collins
Hi, I've been struggling to get a WCF web service client going on monotouch. I have had the same client working with a dynamic proxy on .net, mono on mac and android. Now I need to get a client going for monotouch and that needs to be a statically generated proxy due to the limitations imposed

[mono-android] Type.InvokeMember fails with System.MissingMethodException

2011-12-29 Thread Felix Collins
Calling Type.InvokeMember for a method on a WCF webservice proxy fails with System.MissingMethodException The exact same code works fine with .net 4. Are there some limitations in the mono implementation? Regards, Felix ___ Monodroid mailing list Monod

Re: [mono-android] Failure to package/build with generic class inheriting from JavaList

2011-12-20 Thread Felix Collins
I should add that if I inherit from List instead of JavaList then it all compiles/packages/deploys fine. ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid

Re: [mono-android] Failure to package/build with generic class inheriting from JavaList

2011-12-20 Thread Felix Collins
On 21/12/2011 8:56 a.m., caruso wrote: > This is the true Error you dont implement all abstract methods in Your Splash > Screen Activity. Hi, Thanks for the clue! I managed to work out that the problem was that onBackPressed() was being overridden and I was targeting a pre Android2 API (1.6 whic

[mono-android] Failure to package/build with generic class inheriting from JavaList

2011-12-20 Thread Felix Collins
Hi, I've got a class that inherits from JavaList. It was building ok in the last version of mono for android but now with mono for android 4 it doesn't work. My class declaration is... public partial class NotifyingList : Android.Runtime.JavaList Any ideas or workarounds? Is this the same