Here is a simple openGL sample that I written to draw some geometric figures on android,I use the same vertex points, and just want to alternate the figure by change the mod