You can use the template sample as a base to get started writing OpenGL ES 2.0 applications.
This section describes using C++ OpenGL ES 2.0 and JNI.
To add code to Template:
Add setup code which will be run once at the start in the
setupGraphics()method. This performs startup action such as, for example, loading shaders, enabling OpenGL ES states, and loading textures.
Place the code which will draw each frame in the