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
  • 117,338
  • 33
  • 229
  • 351
7wp
  • 12,505
  • 20
  • 77
  • 103

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,421,763
  • 867
  • 9,128
  • 9,194