How would you detect the predominant color of the screen (of your app) efficiently in Android, without assuming anything about the views on the screen?
I figure the first step would be generating a bitmap from the screen although I don't know if there's a more efficient way to access the screen pixels.
For the second step I was thinking of scaling the bitmap to a 1x1 pixel and let the platform do the detection work for me, but I'm not sure if this is possible in Android.