Java tutorial
//package com.java2s; import android.opengl.GLES20; import android.util.Log; public class Main { private static String TAG = "BasicUtils"; public static void PrintGLstring(String name, int s) { Log.i(TAG, String.format("GL %s = %s\n", name, GLES20.glGetString(s))); } }