Java tutorial
//package com.java2s; import android.opengl.GLES20; public class Main { private static String[] sExtenions = null; public static String[] getExtensions() { if (null == sExtenions) { sExtenions = GLES20.glGetString(GLES20.GL_EXTENSIONS).split("\\s"); } return sExtenions; } }