-
Here is the first round of tests with Android.
- Android OpenGL-ES Test1
- J2ME OpenGL-ES Test2
I have made 2 Eclipse projects: one for J2Me using Eclipseme, and another for Android. I work on a pdf to explain howto and differences between JSR239 and Android. It show how to load a png, and use it as a texture on a cube. I have try to get the same structure between the 2 projects. So you have minor differences between them. Mainly inits, it is simple in Android, with no EGL inside. The main difference is NIO, Android has a complete NIO package. So something like ByteOrder needs to be declared not same as JSR239 which is automatic. The process to load PNG is very different but at the end the conversion to a ByteBuffer is the same. It is not optimized at all. Enjoy



