Sorry I wasn't clear; I did try it and it doesnt work. It always says
"no value set" however, and no changes are remembered
in the interface.

The changes are being made by the interface too, not programaticly so
I shouldn't need that commit.

I'm just wondering if something strange happens as soon as I change
that keys name :-/

On Feb 6, 9:35 pm, TreKing <treking...@gmail.com> wrote:
> On Sat, Feb 5, 2011 at 8:58 PM, ThomasWrobel <darkfl...@gmail.com> wrote:
> > Do I have to manualy commit?
>
> Possibly. Try it, see what happens.
>
> > or set the persistance to true? (isn't that default).
>
> The preferences will save their values automatically when the user makes a
> selection. If you manually setting the values, you normally do an
> Editor().commit() call once you're done making changes.
>
> ---------------------------------------------------------------------------­----------------------
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to