PreferencesDemo is a project mainly written in ..., it's free.
Android preferences demo
Preferences in Android are used to keep track of application and user preferences. This demo shows how to access default preferences from PreferenceManager.
Original Source - http://marakana.com/forums/android/examples/63.html