Back to project page WhiteSnowfallLiveWallpaper_Android.
The source code is released under:
GNU General Public License
If you think the Android project WhiteSnowfallLiveWallpaper_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 cc.co.techzealous.snowfall; //from ww w . j a va 2 s . c o m import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; import cc.co.techzealous.snowfall.utils.SnowFallConstants; public class SnowFallPreferenceActivity extends PreferenceActivity { private SharedPreferences prefs; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); prefs = PreferenceManager.getDefaultSharedPreferences(this); addPreferencesFromResource(R.xml.snowfallpreferences); if(!prefs.getBoolean(SnowFallConstants.PREF_EULA, false)) { Intent i = new Intent(this, SnowFallEula.class); startActivity(i); finish(); } } }