Back to project page Station42.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUC...
If you think the Android project Station42 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.station40.game.android; /* w w w . ja va2 s. c o m*/ import android.content.Context; import android.os.Bundle; import android.os.Debug; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.station42.game.Station40Game; public class AndroidLauncher extends AndroidApplication { public static Context context; @Override public void onBackPressed() { // super.onBackPressed(); } @Override protected void onCreate (Bundle savedInstanceState) { AndroidLauncher.context = getApplicationContext(); super.onCreate(savedInstanceState); AndroidApplicationConfiguration config = new AndroidApplicationConfiguration(); initialize(new Station40Game(OuyaMenuScreen.getter), config); // System.out.println(Gdx.files.getLocalStoragePath()); // Debug.startMethodTracing(Gdx.files.getLocalStoragePath() + "trace.trace"); } }