Android OpenGL Picking algorithm

We wanted to be able to interact with our models and the environment.
So we utilizes a techinique of assigning a unique color to every object in our environment.
Then utilizing Androids GestureDetector.SimpleOnGestureListener onDown() method and OpenGL's glReadPixels() method we were able to determine exactly which object was picked.

This was very useful when wanting to select a defender and then his way point on a map.

Setting unique color