Cross Platform development for Windows and Android
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
Xamarin is cool and easy, why do you even ask when there is a mandatory shared component?!
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
Hello, if your objective is to share only the math component, then you probably can create a C++ DLL ( for the Windows side ) and .SO ( for the Android side ) and interface your existing C# and Java code (JNI) with this DLL. So only the math component needs to be ported (to C++). If you really want to port everything (both apps) to the same language, then C# (Xamarin) is probably a good choice. I also propose a free open source C++ cross-platform framework ( https://Kigs-framework.org ).
Stéphane Capo
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
You can't get there from here, as they say, with any reasonable semblance of security, privacy and ownership. Best to give up. :(
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
I have had very good experiences with Delphi and Lazarus (Pascal) for cross platform development - even for Linux and Mac. You don't have any dependencies (like .NET libraries) and you create really native applications for the operating system! - Delphi (Community version available): Delphi: IDE Software Overview - Embarcadero - Lazarus: Lazarus Homepage pascal is a robust and mature programming language that you can rely on even in 10 years. Compared to other languages/frameworks/libraries, all my applications worked maintenance-free (independent of the operating system version - even under Windows XP... This is simply indescribable!).
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
To my humble opinion Xamarin should be the best solution. You can use the C# part in the shared solution and the Java part in the Android solution. By using Interfaces you can combine the two. For shared pages I should write as much code as possible in the shared part. The C#/XAML combination has an easy learning curve.
-
I have had very good experiences with Delphi and Lazarus (Pascal) for cross platform development - even for Linux and Mac. You don't have any dependencies (like .NET libraries) and you create really native applications for the operating system! - Delphi (Community version available): Delphi: IDE Software Overview - Embarcadero - Lazarus: Lazarus Homepage pascal is a robust and mature programming language that you can rely on even in 10 years. Compared to other languages/frameworks/libraries, all my applications worked maintenance-free (independent of the operating system version - even under Windows XP... This is simply indescribable!).
I agree completely with the Delphi route. Though, it would be a complete rewrite of the libraries and the UI. I've been using Delphi for ages and love it. You can get quite a lot accomplished in a short amount of time - think old school drag and drop placement of components for all platforms. You'll obviously need a Mac to target iOS and macOS, but if you're targeting only Windows and Android, all you need is your Windows machine. If a total rewrite is an option, I'd highly recommend Delphi.
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
RemObjects c# offers decoupling from the .net framework: RemObjects C#: C# for Cocoa and Java/Android | Elements[^]
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
-
Hi All, Opinion requested. I have a large C# Windows application That has a complex math component (in C#). I also have a large Android application, written in JAVA. I believe Xamarin may be the correct route, but I am open to suggestions. I would like to somehow share the math component between the two apps. I am open to transcribing the component into a new language and have both applications access/share the code. Thanks In advance.
Have you had a look at Kotlin? Yes, it's java but it will work on both Windows and Android. It's a great language and it also has a 'native' version that will no doubt become even more important in the future. cheers.