LWJGL port to android

Deniz Zoeteman picture Deniz Zoeteman · Jan 3, 2011 · Viewed 17.3k times · Source

Is there a LWJGL port for Android available? (does not matter if the phone needs to rooted)

Answer

Zoe picture Zoe · Jun 25, 2017

Things have happened since this question was answered in 2011.

There is a port It is new that LWJGL has support for Android.

The linked repo has the setup instructions and the demo, the actual code is in the LWJGL3 repo under the Android branch.

I've been using it for a while now, and this library has a bunch of useful features that aren't just connected to OpenGLES, OpenAL, OpenVR and Vulkan, but it also has a lot of utilities for things like 3D model loading, layouts, dialogs, fonts and a lot more. Meaning the Android port of LWJGL is a considerable add-on to the current OpenGL ES support.

As for other libraries though, you can use no libraries because of the native support. Alternatively, you can use LibGDX or jMonkeyEngine, those are the only two others I know of and have used. Note that these are frameworks and not libraries like LWJGL, meaning they set up a given system you have to follow (one of the reasons I dislike them). It's harder implementing custom features without having to bring out a lot of other parts of the framework that aren't that well documented.