0

This is my first time that I want to make a simple app that will detect color of the current pixel by specifying X and Y coordinates of the main screen or other app like game. So if it is possible please give me function name or give me an example!

Thanks in advance!

ali saasa
  • 1
  • 2

1 Answers1

0

You will need a Canvas for that, together with the SurfaceView view. Then you will be able to select a pixel from the canvas and get its color values.

Kelevandos
  • 7,024
  • 2
  • 29
  • 46
  • thanks, but i need a role to get pixel color from another UI. I set my APP with service to run background. I need to get pixel color from (x , y) like (80,130). form background or another APP like game or .... . I need too get color and comparison with other color ( like : FF9988AA) . if base color match with other APP color then start other service. thanks dude – ali saasa Dec 16 '14 at 22:27