Using the Code
The source code of the project attached here consists of an Android project containing four Java classes. The class Cube is the drawing class. A cube is defined by eight vertices indexed from 0 to 7. The array of indices below describes the order in which the vertices are called in order to draw each face of the cube.