Comparison of Java and Android API

Instead, Java classes are compiled into an android bytecode (dex bytecode) format and run on Dalvik (or compiled version thereof with newer ART), a specialized virtual machine (VM) designed for Android.

For example: Current versions of Android use the latest Java language and its libraries (but not full graphical user interface (GUI) frameworks), not the Apache Harmony Java implementation, that older versions used.

Android uses a framework similar to Swing, based on Views rather than JComponents.

However, a limited ability exists to set styles and themes for an application.

[7] Android includes only a small subset of the java.beans package (PropertyChangeEvent and related classes).