Android Open Source - GlassSensorTest Android Launcher






From Project

Back to project page GlassSensorTest.

License

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.

Java Source Code

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);
  }
}




Java Source Code List

com.prt.sensor.InputHandler.java
com.prt.sensor.LinearAcceleration.java
com.prt.sensor.MyGestureListener.java
com.prt.sensor.TestSensor.java
com.prt.sensor.android.AndroidLauncher.java
com.prt.sensor.android.AndroidLinearAcceleration.java
com.prt.sensor.desktop.DesktopLauncher.java