Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!