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

Java

Android vs Desktop App

Hi, Can someone explain what differs when developing an app for android and desktop. For example if I learn how to develop applications for android will I be able to do it for desktop as well?

Thanks in advance

2 Answers

No. coding in android is a function of the mobile environment (it's as much about android libraries and how android lets you run code as it is syntax). Coding for desktop will be pretty different (different libraries, different visual concepts).

Is the transition from android to desktop a long and time consuming thing? I have just started with Java and I am not sure on which field should I specifically focus.

Everything is complicated. Once you do the java track (this includes a little javafx - which hits the desktop), you'll likely have to make a decision to do a java web development track, android track or find some resource that takes a non-trivial look at javafx. Personally, I'd pick something in demand (maybe look at job postings) and leave the task of branching out for another day.