Hi, First, your preference activity should implement ColorPickerDialog.OnColorChangedListener Then add a PreferenceScreen and register setOnPreferenceClickListener to a function where you will do a new ColorPickerDialog().show(). Finally, implement your colorChanged function where you will use your preference editor to commit the new color.
I hope it's clear enough, I totally changed my color picker since then. 2010/4/9 gcstang <[email protected]> > How did you use it? I'm faced with the same issue but not sure how to > open it and save to a preference key. > > Did you use another preference to open it or something? > > On Mar 14, 11:56 am, Yougli <[email protected]> wrote: > > I reply to myself :) > > > > I found out that I could actually use the ColorPickerDialog as it is > > in my PreferenceActivity... > > Don't know why I couldn't use it before. > > > > Sorry about that. > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- 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

