Chapter 6

Creating a GUI with HTML/JavaScript and AIR

The Android SDK and development environment provide a rich set of tools for developing applications. The biggest drawback to these tools is their lack of cross-platform support. It is true that many of the simpler Java classes provide some level of cross-platform functionality, but when it comes to the UI, it is a different story. It would be a considerable task to write an Android application in a display-agnostic way using the standard Android tool chain. One solution to this cross-platform problem is to write your application in an alternative language and framework that is supported on Android.

At this stage in the game, JavaScript probably provides a developer with the greatest number ...

Get Practical Android Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.