i have a GLSurfaceView, that has a texture that i need to change when i click on a button.
How can i do this on android.
I managed something with:
Intent intent = getIntent();
finish();
startActivity(intent);
But i need to refresh only openGL and not the whole program
this is NOT the way to refresh your view. you need to use the
invalidatefunction.for more:
http://developer.android.com/reference/android/view/View.html#Drawing
android on openGL.
openGL tutorial number 1.
openGL tutorial number 2.