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

Android

What if I did an android app but then I want to make it on ios also, I will have to redo everything??

Hello, What if I did an android app but then I want to make it on Ios also, I will have to redo everything??, or there is a fast solution? Quick answer please, Thanks

2 Answers

As Seth said, yes, if you code natively, you will, but there may be back-ends that you can reuse and you can indeed use a cross-platform service such as Xamarin, which allows you to write for Android, iOS and Windows Phone with one set of code, aside from the UI code which must be implemented for each platform.

Android and iOS use different programming languages as their primary language (Java and Swift/Objective-C respectively). Also the two OS's have their own ways of handling screen layout, user interaction, and app structure. So, yes you would need to rewrite the application to port it from one to the other. There are some frameworks that allow you to make cross-platform apps, such as Xamarin with C#, but I'm not too familiar with those.