Demo code to show how to use SharedPreferences on Android Applications