Back to project page GlassSensorTest.
The source code is released under:
Apache License
If you think the Android project GlassSensorTest 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.prt.sensor.android; /*from ww w . ja v a 2 s . c om*/ import android.os.Bundle; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.prt.sensor.TestSensor; public class AndroidLauncher extends AndroidApplication { @Override protected void onCreate (Bundle savedInstanceState) { super.onCreate(savedInstanceState); AndroidLinearAcceleration androidLinearAcceleration = new AndroidLinearAcceleration(getApplicationContext()); AndroidApplicationConfiguration config = new AndroidApplicationConfiguration(); initialize(new TestSensor(androidLinearAcceleration), config); } }