Android examples for android.opengl:OpenGL
is OpenGL GLES Supported
//package com.java2s; import android.app.ActivityManager; import android.content.Context; import android.content.pm.ConfigurationInfo; public class Main { /**/*from w w w.ja v a2s. c o m*/ * * @param context * @return */ public static boolean isGLES30Supported(Context context) { ActivityManager am = (ActivityManager) context .getSystemService(Context.ACTIVITY_SERVICE); ConfigurationInfo info = am.getDeviceConfigurationInfo(); return (info.reqGlEsVersion >= 0x30000); } }