Back to project page RageTextSample-Android-Java.
The source code is released under:
MIT License
If you think the Android project RageTextSample-Android-Java 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 de.ertlu.rob.ragesamplebase; // www . ja v a 2s . c o m import android.app.Activity; import android.os.Bundle; public class RAGESampleActivity extends Activity { public static RAGESampleActivity instance; private RAGESampleSurfaceView rageSampleSurfaceView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); instance = this; setContentView(R.layout.activity_main); } @Override protected void onPause() { super.onPause(); if ( rageSampleSurfaceView != null ) { rageSampleSurfaceView.onPause(); } } @Override protected void onResume() { super.onResume(); if ( rageSampleSurfaceView != null ) { rageSampleSurfaceView.onResume(); } } }