Ok, I'm not sure if it's at all possible, but is there a way to determine the color of a certain point on the screen? I'm using an onTouchEvent and I want to know the color where the user touched. Thanks.
Asked
Active
Viewed 1,186 times
0
-
2You might want to see this : http://stackoverflow.com/questions/6272859/getting-the-pixel-color-value-of-a-point-on-an-android-view-that-includes-a-bitm – Kazekage Gaara May 30 '12 at 17:56
1 Answers
1
In the end I used getDrawingCache on the view and then getPixel on the bitmap with the coordinates received in the onTouchEvent function.

user940016
- 2,878
- 7
- 35
- 56