How to add texture?

I am a beginner on OpenXR and OpenGL
I am currently developing some demo using OpenGL_ES on android.
Given some build-in functions like CreateImage and CreateBuffer, I am confused how do I create a cube with texture on it?

Is there any examples I can start with? or any advice on where I should look at?

Any help is appreciated!