I\'m creating a live wallpaper and I\'m using this tutorial as a starting point:
http://code.tutsplus.com/tutorials/create-a-live-wallpaper-on-android-using-an-animated
I'm propably late, but hope someone will find this useful.
You need to specify and register you SharedPrefs first. Add this to your onCreate() method.
SharedPreferences preferences = getSharedPreferences("PREFERENCES NAME", Context.MODE_PRIVATE);
preferences.registerOnSharedPreferenceChangeListener(this);