Back to project page TinyVoxel.
The source code is released under:
GNU General Public License
If you think the Android project TinyVoxel 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.toet.TinyVoxel.android; // w w w .ja v a 2 s.c o m import android.os.Bundle; import android.provider.MediaStore; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.RelativeLayout; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.toet.TinyVoxel.Config; import com.toet.TinyVoxel.GameControllers.TouchPadController; import com.toet.TinyVoxel.Game; import com.toet.TinyVoxel.OuyaController; /** * * @author Kajos */ public class AndroidLauncher extends AndroidApplication { public void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); AndroidApplicationConfiguration config = new AndroidApplicationConfiguration(); config.useAccelerometer = false; config.useCompass = false; config.useWakelock = true; Config.set(new AndroidConfig()); initialize(new Game(new OuyaController(), 8), config); } }