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.
Chris Gilliam · May 24, 2015 at 03:59 pm · 2 comments

XDA Recap: This Week In Android (May 17 – 23)

Another week, another recap. The Sunday tradition marches on this week with a fresh no-nonsense look at big-picture news. Here in the digital XDA writers’ room, we spend our days pouring over an average of 2,500 news items and forum threads every 24 hours. Only the most timely and interesting bits survive the editing process, but the portal’s front page still sees weekly counts in excess of 100 posts. This is a glut of content to absorb, especially if following...

XDA NEWS
Mario Tomás Serrafero · May 24, 2015 at 11:00 am · 1 comment

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices from 2011 needed to trim some fat, there is no absolute rule that says that smaller bezels, after a happy medium, are beneficial to a phone. Part of this is that, with today’s current smartphone paradigms, an absolute lack of bezels does not produce an inherently better user experience.   With each technological advancement come limitations and compromises of some sort, and bezels are not...

XDA NEWS
Jimmy McGee · May 24, 2015 at 06:00 am · 3 comments

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. The LG G4 is the successor to the popular LG G3. Coming with many different design styles, from two types of leather to ceramic white, the LG G4 has the looks, but does it have the power? In this episode of XDA TV, Producer TK gets hands on with a new LG G4. TK opens the box for a standard unboxing. Then, TK shows off the phone and...

XDA NEWS
Share This