Back to project page Space.Sprint.
The source code is released under:
GNU General Public License
If you think the Android project Space.Sprint 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 com.obisapps.spacerun; //from w w w . j ava 2 s . com import android.app.Activity; import android.os.Bundle; import android.view.Window; public class GameActivity extends Activity { //private static final String TAG = GameActivity.class.getSimpleName(); HighScoreDBAdapter dbHelper; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); GameView gameView = new GameView(this); this.setContentView(gameView); //Log.d(TAG, "View Added"); } @Override protected void onResume() { super.onResume(); } @Override protected void onDestroy() { //Log.d(TAG, "DESTROY"); super.onDestroy(); this.finish(); System.exit(0); } @Override protected void onPause() { super.onPause(); this.finish(); System.exit(0); } @Override protected void onStop() { //Log.d(TAG, "STOPPING"); super.onStop(); this.finish(); System.exit(0); } }