package com.homelinux.holtrop.opengltest; import android.opengl.GLSurfaceView; import android.app.Activity; import android.os.Bundle; import android.content.res.AssetManager; public class MainOpenGL extends Activity { private GLSurfaceView mGLView; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mGLView = new MyGLSurfaceView(this, getAssets()); setContentView(mGLView); } }