Mike Szczys · Apr 18, 2013 at 06:30 pm

Start Developing Apps in C# Instead of Java

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!
TAGS:

Mike Szczys

szczys is an editor on XDA-Developers, the largest community for Android users. Mike Szczys is a professional musician but spends all his free time working with hobby electronics. As Contributing Editor for Hackaday.com he became interested in Android as some of the early hardware hacks started popping up on the Internet. What followed was a gradually rising addiction to all things Android. View szczys's posts and articles here.
Brian Young · Aug 2, 2015 at 09:05 pm · 2 comments

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by €100, making the current retail price of these phones €599 and €699, respectively. Though no new prices have been announced stateside, a cut is expected soon. (more…)

XDA NEWS
Mario Tomás Serrafero · Aug 2, 2015 at 11:33 am · 1 comment

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!     Getting an upgrade is a big deal to us power users: it’s our little Android Christmas, where after a long time (for plenty of us, at least)...

XDA NEWS
Mario Tomás Serrafero · Aug 1, 2015 at 03:54 pm · 3 comments

PSA: You Can Optimize Your Note 4’s Recents Menu & RAM

The Note 4 never had the fastest Recents Menu, and despite its 3GB of RAM, its app-holding capabilities only got worse on Lollipop. The infamous RAM bug that plagued the S6 is indeed an annoyance on the Note 4's 5.0.X ROMs. Rumors of an update to fix all of this were confirmed with the first reports of the 5.1.1 update for the Russian Note 4, which seemingly improved the Recents Menu and RAM management. But it'll be a long time...

XDA NEWS