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!

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

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