Code example for GL10

Methods: glBindTextureglColor4f

   public void begin(float alpha)  {
      begin( 1.0f, 1.0f, 1.0f, alpha );               // Begin with White (Explicit Alpha)
   public void begin(float red, float green, float blue, float alpha)  {
      gl.glColor4f( red, green, blue, alpha );        // Set Color+Alpha
      gl.glBindTexture( GL10.GL_TEXTURE_2D, textureId );  // Bind the Texture
      batch.beginBatch();                             // Begin Batch
   public void end()  { 
      batch.endBatch();                               // End Batch
      gl.glColor4f( 1.0f, 1.0f, 1.0f, 1.0f );         // Restore Default Color/Alpha
   //--Draw Text--// 
   // D: draw text at the specified x,y position 
   // A: text - the string to draw 
   //    x, y - the x,y position to draw text at (bottom left of text; including descent) 
   // R: [none] 
   public void draw(String text, float x, float y)  {