I\'m trying to create a color picker for Android that looks like a minimalistic version of Gimp\'s. So, it has a hue slider and a rectangle with saturation/value variants of
OpenIntents has a very nice color picker you can use. It can be installed as an independent app and launched with Intents.
One possibility is to pre-create the rectangles on your developer PC for each slider position, embed them as resources, and then swap in the right one when the slider changes. This may make for a portly application, but it will be nice and quick.
I have not dealt with the 2D graphics API much, so I don't know if there are other possibilities (e.g., color matrices).
You can create the rectangle with saturation/value variants that change according to the selected hue, by drawing the rectangle with LinearGradients.
You can incorporate the code here: http://code.google.com/p/android-color-picker/ into your application. Seems that this is what you want.
Can this be applied to an image color picker as well?
Use case: