First of all, hello everyone, this is my first post here.
Unfortunately I ran into a problem implementing color picking in opengl es 1.0, java, android. If anyone managed to implement color picking on android, java i'd really really appreciate an advice.. otherwise, this is my progress and problems:

I've been looking for a solution for days now, so plz patience and help if anyone can.

I've tried to translate this opengl tutorial into opengl es:
http://content.gpwiki.org/index.php/Ope ... _Color_IDs
I ran into some problems i could solve. others, well..

1. opengl es 1.0 doesnt recognise GLint.
2. The method glGetIntegerv(int, IntBuffer) in the type GL10 is not applicable for the arguments (int, int[])

3. The method glReadPixels(int, int, int, int, int, int, Buffer) in the type GL10 is not applicable for the arguments (int, int, int, int, int, int, char[])

(I wish it was Sparta but fact is it's just plain hell)