Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build jar library with Xamarin

My question is, can I use Xamarin to write business logic and compile it as a JAR library and use it in Android Studio ?

Thanks in advance.

like image 724
Alex Cebotari Avatar asked Oct 31 '22 12:10

Alex Cebotari


1 Answers

You can not do that Xamarin platform just work by c#

form Xamarin Site:

If you are a Java developer, you are well on your way to leveraging your skills and existing code on the Xamarin platform while reaping the code reuse benefits of C#. You will find that C# syntax is very similar to Java syntax, and that both languages provide very similar features. In addition, you'll discover features unique to C# that will make your development life easier.

https://developer.xamarin.com/guides/android/advanced_topics/xamarin-for-java/

like image 155
Ahmed Galal Avatar answered Nov 12 '22 19:11

Ahmed Galal