Reputation: 625
I'm trying to find some information on how the C# implementation of Android actually works.
Is it C# -> Java -> Bytecode -> Dalvik: i.e. does C# get converted to Java before the process happens between Bytecode and Dalvik?
Or is it C# -> Dalvik?
Upvotes: 2
Views: 778
Reputation: 63203
Your guess is wrong. It is more similar to .NET/COM interop where wrappers are used across the boundary. So at runtime there are two VMs, Dalvik and Mono CLR running at the same time,
(source: tirania.org)
There is a lot more information you can dig up from Miguel's blog such as http://tirania.org/blog/archive/2011/Apr-06.html
The C# to Dalvik solutions do exist, such as dot42 and RemObjects C#.
Upvotes: 4