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 <gcst...@gmail.com> > 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 <thomas.gon...@gmail.com> 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > 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 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