Mono for Android - How does it work?

I found that Xamarin apps run in Mono runtinme on Android and everything is passed to Dalvik. But I canโ€™t understand how possible it is that the application runs in Mono, but the normal application runs in Dalvik. What sets Mono app apart from Mono, not Dalvik.

How can Mono be on the same level as Dalvik? Mono has to be somehow saved in an application that works in Dalvik, I think.

Please explain to me how this is possible and sorry for my poor language.

Architecture

+7
android mono xamarin xamarin.android
source share
1 answer

The application developed by xamarin has a battery life that it takes with it to the device. The apk application contains .net middleware, a p-code that Dalvik obviously does not understand.

Xamarin.Android developers gain access to various operating system features either by calling the .NET API that they know (for low-access access) or by using classes open in the Android namespaces that provide a bridge for the Java APIs exhibited by Dalvik.

http://docs.xamarin.com/guides/android/under_the_hood/architecture/ Here you can find more information.

+8
source share

All Articles