I'm working on the Android app and Loaded the obj file by using this code in the below link

http://sourceforge.net/projects/objloaderforand/

Now i would like to apply the texture i.e 2d image in the .obj file.

Can you suggest how to implement ? I used the below code,

gl.glGenTextures(1, textures, 0);
gl.glBindTexture(GL10.GL_TEXTURE_2D, textures[0]);

gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MIN_FILTER, GL10.GL_LINEAR);
gl.glTexParameterf(GL10.GL_TEXTURE_2D, GL10.GL_TEXTURE_MAG_FILTER, GL10.GL_LINEAR);

Bitmap bitmap = BitmapFactory.decodeResource(context.getResources( ), R.drawable.image);

GLUtils.texImage2D(GLES20.GL_TEXTURE_2D, 0, bitmap, 0);
But it doesn't help more. I couldn't get the results.