Start Developing Apps in C# Instead of Java
Posted April 18, 2013 at 06:30 pm by Mike Szczys
Did you know you can write Android apps in C#? Now you do, so go forth and produce bountiful apps. Wait, you need more help than that? I figure that if you already know the language, setting up an IDE is half of the battle. Luckily, XDA Senior Member ScatteredHell wrote a guide that will get you ready to write C# apps. I’m certainly not making a statement that C# is better than Java, or the other way around. But if you’re a battle-hardened C# code monkey and have been avoiding app development because your Java skills don’t match up this should take away most of your excuses.
The process starts like normal by installing the Android SDK and setting up a virtual device so that you can test as you go. From there, it takes a bit of a turn by installing Mono for Android, which is written by Xamarin. You might recognize that name from the company from its efforts to port Ice Cream Sandwich to C# about a year ago. Don’t worry, apps written with this technique will run on any version of Android you choose to support when writing your app. That provides the framework, but you still won’t have an IDE yet. There are a couple of choices, but none of them are free (like Eclipse for Java is). You can go with Microsoft Visual Studio or Xamarin’s own program called Xamarin Studio.
This guide was posted in our new Android App Development forums where you can find a ton of help whether your just starting out or have been coding for Android since the beginning. If this is the first time you’re hearing about them take a look at the announcement post.
Want something on the XDA Portal? Send us a tip!