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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the end I used getDrawingCache on the view and then getPixel on the bitmap with the coordinates received in the onTouchEvent function.