tags:

views:

70

answers:

2

I want to get the color of one pixel of screen

A: 

Perhaps you can use this? Returns the Color at the specified location.

Learn to use the Google. First result for "android get pixel color".

Daenyth
That's for a bitmap, not the screen; though you could probably somehow capture the screen as a bitmap..
Andy Zhang
@Andy, your answer reminds me of this comic - http://i.imgur.com/moMT9.png ;)
Hamy
@Daenyth, Perhaps you can use [this](http://stackoverflow.com/editing-help)? `A Blockquote is not the same as Code`. Learn to chill a bit, it's his first question and everyone already got mad @ the OP for the caps.
Hamy
A: 

Sorry you can't do this. The screen is not readable at all by applications.

hackbod
hack, can you back this up with some references? Not doubting you, just curious to know more about this. Seems like trying to access `Surface` aka http://d.android.com/reference/android/view/View.html#View(android.content.Context, android.util.AttributeSet) would be a good place to start trying to do this? Perhaps not though . . . ? What say you? :)
Hamy