Login  Register

Re: JOGL 2.0 (OpenGL/OpenGL-ES) backend for LibGDX

Posted by Sven Gothel on Dec 04, 2014; 9:35pm
URL: https://forum.jogamp.org/JOGL-2-0-OpenGL-OpenGL-ES-backend-for-LibGDX-tp4027689p4033718.html

On 12/04/2014 10:34 PM, Sven Gothel wrote:

> On 12/04/2014 10:30 PM, Matthew [via jogamp] wrote:
>> if
>> (
>>     System.getProperty("java.vm.vendor").equals("The Android Project")  ||
>>         System.getProperty("java.vendor").equals("The Android Project")
>> )
>> { // This is running on an Android OS.
>> }
>>
> https://jogamp.org/deployment/jogamp-next/javadoc/gluegen/javadoc/com/jogamp/common/os/Platform.html#getOSType%28%29
>
> https://jogamp.org/deployment/jogamp-next/javadoc/gluegen/javadoc/com/jogamp/common/os/Platform.OSType.html#ANDROID
>
> ~Sven
>
.. and this one:

https://jogamp.org/deployment/jogamp-next/javadoc/gluegen/javadoc/com/jogamp/common/os/AndroidVersion.html

after if AndroidVersion.isAvailable,
one may like to check its other fields.

~Sven



signature.asc (828 bytes) Download Attachment