I've been struggling with these shared preferences. I want to save a
resolution setting, so that people with different degrees of vision
can see the screen. With a Diabetes application, this is a very
important feature.
What I've found thus far, however I cut the cake, I lose my settings
with
If you do not store values with special characters in your settings,
it might be interesting to see some of your code in order to analyze
why you're losing them.
If we're only talking about the problem with special characters, you
should be fine with Base64 encoding values that potentially lead
My issue was simpler than that. I was trying to get any setting to
read, write, save, then recall under any condition. What I was doing
wrong was I didn't have the xml file set up right. It appears to work
fine now.
Thanks, it was from studying your code that I figured out what was
wrong. So
I have noticed this behavior couple of times. But I have not been able
to reproduce, also I do not have or any other special character,
except some Double values encoded as Strings.
Chander
On Jan 25, 12:39 am, Christoph Studer chstu...@gmail.com wrote:
Okay, so my current suspicion is that I
This has been a recurring problem with K-9:
http://code.google.com/p/k9mail/issues/detail?id=143
and apparently the core Email as well:
http://www.androidforums.com/showthread.php?p=16842
and possibly other apps, too:
Okay, so my current suspicion is that I got bitten by
http://code.google.com/p/android/issues/detail?id=1707
I have one preference value containing and which are
improperly encoded due to above bug. My guess is that the XML parser
chokes on this value and the pref file is ignored. I think
6 matches
Mail list logo