Hello,

I tried to sign up for the beginners forum but had no luck.  So I am
posting on here, sorry if it is to simple of a question, but I tried
searching on google and on the android developers site, but I do not
understand a thing


My question is that I am reading a book called sams teach yourself
android development and am completely lost with when it says to use
the getSharedPreferences() method.  I have no idea where to put that
method or how to make it in eclipse.  it tells me
“
To add shared preferences to the application, take the following
steps:
1. Use the getSharedPreferences() method to retrieve an instance of a
SharedPreferences object.
2. Create a SharedPreferences.Editor object to modify preferences.
3. Make changes to the preferences by using the editor.
4. Commit the changes by using the commit() method in the editor.
“

now none of that makes sense to me at all, I do not know how to make a
SharedPreference.Editor object to modify preferences.


Thanks so much in advance

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to