Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Zachary Kaufman
Zachary Kaufman
1,463 Points

iOS to Andriod to Windows/OSX/Linux

I was just curious how programmers go about making applications on computers Andriod phones and iPhones? iPhones require Swift Andriod requires Java and a lot of computer games and applications are made with C++, Python, Java and so on. So for example if someone made a computer game, put it on steam or whatever and it became popular, so they made an iPhone and Andriod version that are practically identical or even can connect online to someone playing with a different device, how did they do that? Did they seriously have to reprogram the same game in three different languages and then find a way to allow them all to interact and be identical to each other even though the programming is way different? That seems like a lot more steps then should be necessary, can anyone shed some light on how this is done. Thanks in advance!!

1 Answer

Moritz Lang
Moritz Lang
25,909 Points

Hi Zachary, I would say that the most game developers plan on which platforms they want to publish their game. And with the use of game engines like Unity you have the same code base for all platform and just add some smaller platform specific adjustments, e.g. handle touches on mobile devices.

Zachary Kaufman
Zachary Kaufman
1,463 Points

Thanks for your response! What about none game projects?

Moritz Lang
Moritz Lang
25,909 Points

Oh sorry, I forgot this part. :) If we say e.g. you're writing a notes app and you're starting on iOS but want to develop on Android also a year later you would have to write a whole new Android App for that. If you start your development with both platforms in mind and you don't have both an iOS- and an Android-Developer in your team you could use something like Xamarin or React Native.

Zachary Kaufman
Zachary Kaufman
1,463 Points

Thanks for the responses, very appreciated!