I've been working on porting my latest game over to Android, but I'm stuck on one VERY important detail. How do I correctly instantiate my openGLES environment?
I was using this example on the Android developer site:http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/GLSurfaceViewActivity.html
but that only starts up the surface, and I'm not sure how to tie into it to run my openGL loop.
I've also heard that it's best to run your logic updates and graphic updates as separate threads on Android devices... is this really true?
Does anyone have a tutorial or some sample code that would help me understand this better? A lot of the examples I've found thus far have only been for 2D games, and pretty poorly designed at that (they don't even use a timer).
Any help would be appreciated!