Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SharedPreferenceEditor  RSS feed

 
Mark Do
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Which part of the code actually enables me to update information from the sharedpreferences? Is it just this one?


How about the fragment that allows me to retrieve the information that I previously stored from the sharedpreference? I would really appreciate it if someone can explain it to me.

Thanks,
Mark
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at the SharedPreferences API: http://developer.android.com/reference/android/content/SharedPreferences.html
And the information on its usage guide: http://developer.android.com/guide/topics/data/data-storage.html#pref
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!