5

We all know that Android runs Dalvik VM programs.

Normally developers write programs in Java and they compile it to Dalvik bytecode.

I wonder if it would be possible to create a compiler that can take C# code and compile it into Dalvik bytecode.

spender
  • 112,247
  • 30
  • 221
  • 334
7wp
  • 12,263
  • 19
  • 72
  • 99

1 Answers1

9

Well, that's one option - or you could just run it on Mono running on Android. This has already been done and the Mono team is now working on MonoDroid. I'm not sure of details yet - whether that will be running the Dalvik VM as well for UI, whether it will just be native, or whether it will be a .NET-to-Dalvik compiler.

Jon Skeet
  • 1,335,956
  • 823
  • 8,931
  • 9,049