OpenGl ES 2.0

Problems with Canvas, OpenGL, etc...

OpenGl ES 2.0

Postby [MI_nor] » Mon Mar 14, 2011 7:12 pm

Hi, can somebody write a simple example to implement the OpenGL ES 2.0 in android application? I was searching on the Internet, information is very small.
Posts: 3
Joined: Sat Mar 12, 2011 4:12 pm


Re: OpenGl ES 2.0

Postby emesaeler » Mon Apr 04, 2011 6:43 pm

OpenGL ES 2.0 guides seem to be very rare, but I finally found one.
Posts: 3
Joined: Thu Mar 24, 2011 3:59 pm

Re: OpenGl ES 2.0

Postby zeroARM000 » Tue Apr 05, 2011 10:12 am

ok, hope this title brings me luck!

Hi guys!, i'm making a word search game right now... I've done with the algorithm and so on, but I'm facing new problem...

I want to paint the characters that are being choosen by user to match a word. actually, I'm using gridview to placed the characters...

Here's the code

Code: Select all
public class GridAlpha extends Activity{
int BOARD=8;
String[]rep = new String[50];
String[]def = new String[64];
String LETTERS = "abcdefghijklmnopqrstuvwxyz";
String[][]square = new String[8][8];

/** Called when the activity is first created. */
public void onCreate(Bundle savedInstanceState) {

    KamusDbAdapter x = new KamusDbAdapter(getApplicationContext());;
    rep = x.playWord();

    Random round = new Random();int[]rec=new int[10];int m=0;
    for(int i=0; i<50; i++){
        //algorithm section, used to place the words inside the grid per char
    //additional logic, used to store the char in string that will be use in gridview

    ArrayAdapter<String> ad = new ArrayAdapter<String>(this,R.layout.form,def);
    GridView grid=(GridView)findViewById(;

    grid.setOnItemClickListener(new OnItemClickListener(){
        public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,
                long arg3) {
            String test = (ad.getItem(arg2)).toString();

    ListView wordlist = (ListView)findViewById(;
    ArrayAdapter<String> showWord = new ArrayAdapter<String>(this,R.layout.form2,store);



I think that's all that I can explain right now... if you are confuse with my question, just go to the screenshot link below ... 405137.png

*I just want to paint the selected words inside the gridview, that's all...

Best regards,
Posts: 5
Joined: Tue Apr 05, 2011 10:01 am


Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 2 guests