Hello,
I'm porting an application from iPhone to Android.
This application uses a webpage as a menu, and then switch to an opengl surface for rendering.
All is working fine on the iPhone, but on android, it randomly crashes.
The OpenGL surface uses JNI for rendering.
What I'm doing is I'm adding the WebClientView
on top of the OpenGLSurfaceView
in my activities by using addContentView
. By doing that, the JNI code is crashing while initilazing (I'm initializing my data when receiving the onSurfaceResize
event.
If I remove the WebClientView, and just setContentView on the OpenGLSurfaceView
everything is working fine.
Anyone has any idea about this problem ?
Thanks in advance !