public static boolean isDeviceSupported() {
   try {
     AndEngine.checkDeviceSupported();
     return true;
   } catch (final DeviceNotSupportedException e) {
     return false;
   }
 }
 private static void checkOpenGLSupport() throws DeviceNotSupportedException {
   AndEngine.checkEGLConfigChooserSupport();
 }
  public static void checkDeviceSupported() throws DeviceNotSupportedException {
    AndEngine.checkCodePathSupport();

    AndEngine.checkOpenGLSupport();
  }