How is Xamarin for Android (Mono for Android) different from Android development?

I recently chose to learn C # and develop mobile applications using C # on Xamarin. In particular, for the development of Windows Phone and Android. I know that developing applications for Windows Phone is mostly C #, and that Xamarin can compile native code for Android, but how does it compare to native Java development? Will I be able to use EVERYONE or at least most (e.g. 90% +) Android SDKs and extensions using Xamarin?

+7
source share
3 answers

The main thing that I think is your preferred programming language, which in your case is C #, and with it. The only thing that bothers me when creating an application in C #, as against Java, is not so much third-party links as the use of Java. You download the sample files and reverse engineer them to learn how to make new functions, you will need to look much more intellisence to find something that uses something, if you can find a Java example you just wrote. One thing you find is that it can usually be the same method as in Java, but the first letter is uppercase. LINQ is the main advantage that I find in data manipulation, which is not available in Java.

Good luck with what you choose, James

+7
source

I did not do statistics or study the Xamarin C # coverage for the Java Java API, but in my work, all I needed when porting code from Java to C # was there. In addition, Xamarin says that for new releases of the Android SDK, they usually issue C # cards within 24 hours. And, as @dotToString noted, you can add Java jar libraries to your Xamarin C # project and call them if necessary.

Performance is another matter - I don't think it works on Android. Rather, the Mono runtime somehow interprets the byte code. I compared the performance of Java and Xamarin C # with real life code, see More:

Does anyone have tests (code and results) comparing the performance of Android applications written in Xamarin C # and Java?

Greg

+3
source

you can use all the functions of android and java library. In addition, you get the advantage of a custom .net window, including linq.

+1
source

All Articles