Back to project page libgdx-lwp-template.
The source code is released under:
Copyright (c) 2013, madpew All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redis...
If you think the Android project libgdx-lwp-template 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 org.example.lwp.template; //from ww w . j a va 2 s . c om import android.annotation.TargetApi; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.badlogic.gdx.backends.android.AndroidDaydream; @TargetApi(17) public class TemplateDaydream extends AndroidDaydream { @Override public void onAttachedToWindow() { super.onAttachedToWindow(); setInteractive(false); setFullscreen(true); AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration(); cfg.useGL20 = false; initialize(new TemplateMain(), cfg); } @Override public void onDreamingStarted(){ super.onDreamingStarted(); } @Override public void onDreamingStopped(){ super.onDreamingStopped(); } }