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.

Development Tools

Dani Ivanov
Dani Ivanov
10,732 Points

Android apps with Java or Javascript


I am really interested in learning to build Android apps, but as I am currently learning JavaScript and I need to learn Java for android development I just don't want to learn two languages at the same time.

I've seen things like PhoneGap that lets you build apps with HTML/CSS and JavaScript, but I want to know what are the advantages/disadvantages of creating apps with PhoneGap and similar as opposed to simply using Java?

1 Answer

Ricky Catron
Ricky Catron
13,023 Points

With something like Phonegap you may not get the full use of the different tools that a native Java app could provide. I believe the app will also run slower then a native app. In my experience it is best to go native if possible. It makes the user experience much more seamless and causes many fewer headaches. I have never worked with Phonegap but I have worked with Kivy which was a Python framework for android and believe me I wish I had simply used Java which surprised me because I absolutely love Python.

Goodluck! --Ricky