On Thu, Sep 16, 2010 at 2:43 PM, Chris Greenman <[email protected]>wrote:

> I believe I remember reading somewhere that Preferences can only be saved
> as a String.
>

Can you point to where you saw that? The doc for Preferences says:
"It is up to the subclass to decide how to store the value."

and, for example, CheckBoxPreference says:
"This preference will store a boolean into the SharedPreferences."

So it shouldn't be Strings only. Of course, for EditTextPreference it makes
sense for it to be a String.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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