Can someone clarify how to use getSharedPreferences(String
<http://code.google.com/android/reference/java/lang/String.html>  name, int
mode)  ?

 

I have created a preferences.xlm file, added some Boolean preferences, can
edit them from an activity, but I can't seem to figure out how to get the
values into another activity in my application using getSharedPreferences. 

 

I know. it should be simple. and I'm sure it is. but I can't figure out what
name to put in or what mode. 

 

Any help or links to sample code appreciated.

 

 

Sincerely,

 

Brad Gies

 

 

-----------------------------------------------------------------

Brad Gies

27415 Greenfield Rd, # 2,

Southfield, MI, USA

48076

-----------------------------------------------------------------

 

Moderation in everything, including abstinence

 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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