3

So, this will probably be closed as "opinion based", but i'm going to ask it anyway since i'm wasting my time thinking about this.

My main goal is actually to develop apps/games on android. I know, Java would be the best option for this, however i had a quick look at both languages and i like C# a lot better...

Now my question is, will i run into a lot of problems using C# (monodroid) for android devices? I know the performance will probably be slower, but is it really noticable? Has anyone here ever compared the two?

Thanks.

Dieter91
  • 97
  • 1
  • 7
  • 3
    This might help: http://stackoverflow.com/questions/17134522/does-anyone-have-benchmarks-code-results-comparing-performance-of-android-ap – ken2k Jul 10 '14 at 15:50
  • Another one: http://stackoverflow.com/questions/21023658/developing-android-applications-using-xamarin-vs-native-android – ken2k Jul 10 '14 at 15:55

2 Answers2

4

For what its worth...I recently moved an OpenGL 2D mobile game project I was working on from writing in native code (Java(android) and Objective-c(ios)) to using Mono and C# with Xamarin. So far I have not noticed too much performance difference. I found no performance changes on ios and just a few performance issues on android. Nothing major though and nothing that will make me switch back. I will say I personally enjoy coding in c# much better than Java or Objective-c. My productivity has sky-rocketed as well because now I basically write code once for both platforms...But to answer your question with my experience and opinion, no I don't think you will have any performance issues.

MisterXero
  • 1,070
  • 2
  • 8
  • 16
  • i proofe this, other interesting post with Benchmarks and more Information https://medium.com/@harrycheung/mobile-app-performance-redux-e512be94f976#.7utq353u4 – kilian eller Apr 09 '16 at 21:19
-1

Someone correct me if I'm wrong but you can't develop natively for Android with C#. You can use something such as Xamarin or dot42, but it need to do extra behind-the-scenes stuff to become an Android app.

I don't think you'll run into problems running the apps on devices providing you are targeting for the correct API.

In my opinion, I'd stick with Java for development unless you want to write the code once and port it across all platforms then I've heard decent things about Xamarin.

CodyEngel
  • 1,480
  • 14
  • 21