How to add texture?

Hi,
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!

This is a general OpenGL question, not OpenXR-specific. Once you can draw a textured cube on some window/surface, you can use the same procedure to render in OpenXR.