Loading...

Android Detect WebGL Library

Android Library to easily allow you to determine device's WebGL support level

Download

dependencies {
  compile 'com.github.seanzor:detect-webgl:1.0.3'
}

Usage

As easy as:
// Trigger the check
WebGLDetector.detect(this, new OnReceiveDetectJsResult() {
    @Override
    public void onReceiveDetectJsResult(WebGLSupportLevel supportLevel) {
        switch (supportLevel){
            case UNKNOWN:
                break;
            case NOT_SUPPORTED:
                break;
            case SUPPORTED_BUT_DISABLED:
                break;
            case SUPPORTED:
                break;
        }
    }
});
Download complete project source code from GitHub
WebView 2988408639686380747
Home item