SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Jul 2011
    Location
    Grand Rapids, Michigan, USA
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Do apps written in C# work in Iphone and IPAD

    If I write apps in C# will IPhone and Ipad users be able to use them.

    I am a college student looking at taking either C# or java. I am going to write apps for both, I would like to find a language that is cross compatible.

  2. #2
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,868
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    There is no cross platform languages. You can write C# web apps that run on them through safari. But for iOS (iPhone and iPad) must be written in objective-c, in x-code, on a mac. There are currently a few sdks that are said to convert C# and other languages to objective-c, but a lot of them are quite bad. Something like phonegap uses html and javascript to generate the source code.

    Android native language is Java, so all android apps are written in java.

  3. #3
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,576
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Actually, C# is perhaps the most cross-mobile option thanks to the guys over at Ximian who created M0n0Touch and M0n0Droid. Unlike the various phone gap like things, they actually compile down to native code (objective-c or davlik) and while also reflecting the native UI and device APIs. So you are actually creating 1st class iOS or Droid apps, just not in objective-c or java. It also means that the UI/device specific bits of your apps will not be directly reusable.

    Now, your server-side C# app where most of the magic happens anyway don't care what the client is so long as it can consume your web services.

    All that said, as a student there isn't any reason you should not be learning all three stacks.

  4. #4
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,868
    Mentioned
    37 Post(s)
    Tagged
    0 Thread(s)
    I have not looked at MonoDroid/Touch yet, but I am very scepticle about these things. I have seen one in the past that does this, and the code it generates is very messy and of very poor quality. I would not use anything but their native languages. Or not just yet anyway.

    But hoping it will change in the future

  5. #5
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,576
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    I feel ya -- most of these toolkits are really bad or really limited. But that family is quite different. Its brought to you from the guy who built gnome and mono and moonlight so they have the resume to make it happen. And the approach they take where they do not wrap the native APIs in a common UI-builder is refreshing. It is not your typical phonegap style solution.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •