how to load texture in android opengl with c++ and bullet physics
<p>how to load image in android opengl using jni c++.  </p>

<pre><code>glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
//Connect the arrays themselves
glVertexPointer(3, GL_FLOAT, 0, vertices);
glNormalPointer(GL_FLOAT, 0, normals);
glTexCoordPointer(2, GL_FLOAT, 0, textures);
glRotatef( 0.0f, 0.0f, 1.0f, 0.0f); 
glScalef(10.5,10.5,10.5);

glBindTexture(GL_TEXTURE_2D, textures[0]);       

glColor4f(0,1,0,1);
glDrawArrays(GL_TRIANGLES, 0, 48);


//Disable vertex arrays that are no longer in use
glDisableClientState(GL_VERTEX_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
glPopMatrix();
</code></pre>

<p>}</p>

<p><strong>how to add texture in below code from my android res/drawable/all.png.</strong></p>
