3D with OpenGL

Android includes support for high performance 3D graphics
via the OpenGL API — specifically, the OpenGL ES API.

OpenGL ES is a flavor of the OpenGL specification intended for embedded
devices. Versions of OpenGL ES are loosely peered to versions of the primary
OpenGL standard. Android currently supports OpenGL ES 1.0, which corresponds
to OpenGL 1.3. So, if the application you have in mind is possible with OpenGL
1.3 on a desktop system, it should be possible on Android.

The specific API provided by Android is similar to the J2ME JSR239 OpenGL
ES API. However, it may not be identical, so watch out for deviations.

Using the API

Here's how to use the API at an extremely high level:

Write a custom View subclass.

Obtain a handle to an OpenGLContext, which provides access to the OpenGL functionality.

In your View's onDraw() method, get a handle to a GL object, and use its methods to perform GL operations.