Back to project page BoxingGame.
The source code is released under:
Apache License
If you think the Android project BoxingGame listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package uk.co.o2.android.roboexample; /* w w w. j a v a2s . c om*/ import android.app.Activity; import android.os.Bundle; import uk.co.o2.android.roboexample.opengl.MyGLSurfaceView; public class MyActivity extends Activity { private MyGLSurfaceView myGLSurfaceView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_my); myGLSurfaceView = (MyGLSurfaceView) findViewById(R.id.glSurfaceView); } @Override protected void onPause() { myGLSurfaceView.onPause(); super.onPause(); } @Override protected void onResume() { myGLSurfaceView.onResume(); super.onResume(); } }