super.onCreate(savedInstanceState); mGLView = new GLSurfaceView(this); mGLView.setEGLConfigChooser(false); mGLView.setRenderer(new TriangleRenderer(this)); setContentView(mGLView);
super.onPause(); mGLView.onPause();
super.onResume(); mGLView.onResume();