use of com.badlogic.gdx.backends.android.AndroidApplicationConfiguration in project myFirstGame by Juicebox47.
the class AndroidLauncher method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
initialize(new MyFirstGame(), config);
}
use of com.badlogic.gdx.backends.android.AndroidApplicationConfiguration in project libgdx by libgdx.
the class Daydream method onAttachedToWindow.
@Override
public void onAttachedToWindow() {
super.onAttachedToWindow();
Log.i("Andrew", "hi");
AndroidApplicationConfiguration cfg = new AndroidApplicationConfiguration();
setInteractive(false);
ApplicationListener app = new MeshShaderTest();
initialize(app, cfg);
}
use of com.badlogic.gdx.backends.android.AndroidApplicationConfiguration in project libgdx by libgdx.
the class GdxTestActivity method onCreate.
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
// obtain the test info
Bundle extras = getIntent().getExtras();
String testName = (String) extras.get("test");
GdxTest test = GdxTests.newTest(testName);
// and run the application...
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
config.useImmersiveMode = true;
initialize(test, config);
}
use of com.badlogic.gdx.backends.android.AndroidApplicationConfiguration in project Catacomb-Snatch by Catacomb-Snatch.
the class AndroidLauncher method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
config.useCompass = false;
config.useAccelerometer = false;
initialize(new CatacombSnatch(new PlatformDependent() {
@Override
public void create() {
}
@Override
public Object[] createPlatformObjects() {
return new Object[0];
}
@Override
public void dispose() {
}
}), config);
}
use of com.badlogic.gdx.backends.android.AndroidApplicationConfiguration in project semiprime by entangledloops.
the class AndroidLauncher method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
initialize(new Semiprime(), config);
}
Aggregations