On Mar 21, 2012, at 5:19 AM, GigaNTes wrote: > I'm trying to estimate such solution.
I think there are too many factors for me to provide much help. :-) > We're considering two ways. > First way - 1)we make porting from .net code to Java and 2) this already > ported application to Android app. > Second way - 1) we make porting from .net to Xamarin Android API. > Question -what way will take less time and efforts? Do you have lots of Java developers, or are they largely C# developers? Will you continue maintaining your C# codebase? Do you have the resources to completely duplicate your codebase across languages and keep them both maintained? I'm biased toward the "keep it in C#" solution. Without knowing more about your codebase, I have no idea if it would be more cost effective to completely rewrite in Java. Maybe it would be. > It depends on how many classes we need to convert from .net standard API to > Xamarin classes. Which classes are you using? Mono for Android provides most of the .NET 4.0 Base Class Library (System, System.IO, System.Linq, System.Net, System.Xml, etc.), really lacking only WCF (only the Silverlight-WCF profile is provided), WPF, WWF, Linq-to-SQL, and EF. If you have strong dependencies on these, you will have problems porting. You might have similar problems if you try porting to Metro as well. In any event, I don't see why it would be impossible to abstract away dependencies on e.g. WPF, and for any moderately sized codebase I would assume that this would still be cheaper than a port to Java. > Generally - how many pacakages and classes I have to rewrite if I want to run > my "standard .net" application inside of Xamarin-Android environment? There is no way to answer this without having more information about your code base. :-) I would suggest trying to compile your code against the Mono for Android assemblies and see how far you can go. - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid