Back to project page OpenGlDraw_Android.
The source code is released under:
GNU General Public License
If you think the Android project OpenGlDraw_Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.opengldraw; /*w w w .ja v a 2s . co m*/ import com.example.opengldraw.gl.GLSurfaceViewDraw; import android.app.Activity; import android.os.Bundle; import android.view.Menu; public class MainActivity extends Activity { private GLSurfaceViewDraw myGlView; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); myGlView = new GLSurfaceViewDraw(this); setContentView(myGlView); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } }