views:

372

answers:

1

if i wanna use the opengl interface in android ndk, then will it be possible to show me a simple tutorial to let me master the android ndk? i just wanna know how to operate in android ndk first! thanks in advance!

A: 

Hi,

The sample in NDK san-angeles is not too simple for beginners. You can use it's Java part, because it is the bare minimum for setting up a native OpenGL application. Then you can fill the JNI functions nativeInit, nativeResize and nativeRender with the OpenGL code.

ognian