Back to project page CirclesLiveWallpaper_Android.
The source code is released under:
GNU General Public License
If you think the Android project CirclesLiveWallpaper_Android 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.blogspot.techzealous.circleslivewallpaper; /*from w w w . ja v a 2s .co m*/ import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; import com.blogspot.techzealous.circleslivewallpaper.utils.CirclesConstants; public class CirclesPreferenceActivity extends PreferenceActivity { private SharedPreferences prefs; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.preferences); prefs = PreferenceManager.getDefaultSharedPreferences(this); if(!prefs.getBoolean(CirclesConstants.PREF_EULA, false)) { Intent i = new Intent(this, CirclesEula.class); startActivity(i); finish(); } // Preference prefSpeed = (Preference) findPreference(res.getString(R.string.pref_key_speed)); // prefSpeed.setOnPreferenceClickListener(new OnPreferenceClickListener() { // @Override // public boolean onPreferenceClick(Preference preference) { // Intent i = new Intent(CirclesPreferenceActivity.this, CirclesSpeedActivity.class); // startActivity(i); // finish(); // return false; // } // }); } }