Android Open Source - SuperHexagonLiveWP Hexagon Settings






From Project

Back to project page SuperHexagonLiveWP.

License

The source code is released under:

GNU General Public License

If you think the Android project SuperHexagonLiveWP 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.greencouchgames.hexagonwp;
//  w  w  w .  ja  v  a  2  s . co  m
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import net.greencouchgames.hexagonwp.R;

public class HexagonSettings extends PreferenceActivity implements SharedPreferences.OnSharedPreferenceChangeListener
{
  @Override
  protected void onCreate(Bundle icicle)
  {
    super.onCreate(icicle);
    getPreferenceManager().setSharedPreferencesName(HexagonService.SHARED_PREFS_NAME);
    addPreferencesFromResource(R.xml.hexagonwallpaper_settings);
    getPreferenceManager().getSharedPreferences()
        .registerOnSharedPreferenceChangeListener(this);
  }
  
  @Override
  protected void onResume()
  {
    super.onResume();
  }
  
  @Override
  protected void onDestroy()
  {
    getPreferenceManager().getSharedPreferences()
        .unregisterOnSharedPreferenceChangeListener(this);
    super.onDestroy();
  }
  
  public void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
      String key)
  {
  }
}




Java Source Code List

com.badlogic.gamedev.Mesh.java
net.greencouchgames.hexagonwp.BufferFactory.java
net.greencouchgames.hexagonwp.HexagonRenderer.java
net.greencouchgames.hexagonwp.HexagonService.java
net.greencouchgames.hexagonwp.HexagonSettings.java
net.greencouchgames.hexagonwp.Wall.java