Android Open Source - FireflyAndroidLWP Config






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;
//from  w w w  .j a v a2  s  . c o m
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Preferences;

public class Config {
   public static final Preferences preferences = Gdx.app.getPreferences("preferences");

   public static boolean parameter = true;

   public static void load() {
      parameter = preferences.getBoolean("parameter", true);
   }

   public static void save() {
      preferences.putBoolean("pamareter", parameter);
      preferences.flush();
   }
}




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