Android Open Source - FireflyAndroidLWP Live Wallpaper






From Project

Back to project page FireflyAndroidLWP.

License

The source code is released under:

GNU General Public License

If you think the Android project FireflyAndroidLWP 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 net.precariouspanther.gdxtest;
/*w ww  . jav  a 2s .c  om*/
import com.badlogic.gdx.ApplicationListener;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;
import com.badlogic.gdx.backends.android.AndroidLiveWallpaperService;

public class LiveWallpaper extends AndroidLiveWallpaperService{

  @Override
  public AndroidApplicationConfiguration createConfig() {
    // TODO Auto-generated method stub
    return new AndroidApplicationConfiguration();
    //return null;
  }

  @Override
  public ApplicationListener createListener(boolean arg0) {
    // TODO Auto-generated method stub
    return new GDXTestPaper();
    //return null;
  }

  @Override
  public void offsetChange(ApplicationListener arg0, float arg1, float arg2,
      float arg3, float arg4, int arg5, int arg6) {
    Gdx.app.log("LiveWallpaper", "offset changed: " + arg1 + ", " + arg2);
    // TODO Auto-generated method stub
    
  }
  

}




Java Source Code List

net.precariouspanther.gdxtest.Config.java
net.precariouspanther.gdxtest.Firefly.java
net.precariouspanther.gdxtest.GDXTestPaper.java
net.precariouspanther.gdxtest.LiveWallpaper.java
net.precariouspanther.gdxtest.MainActivity.java
net.precariouspanther.gdxtest.Main.java
net.precariouspanther.gdxtest.MeshHelper.java
net.precariouspanther.gdxtest.Swarm.java
net.precariouspanther.gdxtest.WallpaperSettings.java