For one Android app that I wrote, I chose to write the UI using the native UI subsystem (primarily I used a
ListView). Is it possible to instead write Javascript that builds a UI using native widgets? If this is possible, I would imagine that it could only be accomplished with libraries like PhoneGap which expose native functionality to the web app.
I could, of course, emulate the look-and-feel of the native widget system using CSS and HTML, but one nice thing about using the native UI widgets is that the look-and-feel of native Android widgets changes slightly from API level to API level, so any emulation of the native look-and-feel would need to be varied for each API level.