Code example for GLSurfaceView

Methods: requestRender

0
        cameraView.setOnGetFeaturedPointFromServerListener(new GetFeaturedPointFromServer() {
			 
			public void getFeaturePoint(float eightPoint[]) {
				if(mGLSurfaceView != null){
					// 
				mGLSurfaceView.requestRender();
				btn.setText("변함?" + eightPoint[0]+""+eightPoint[1]+""+eightPoint[2]+""+eightPoint[3]+""+eightPoint[4]+""+eightPoint[5]+""+eightPoint[6]+""+eightPoint[7] );
				point = setGLPoints(eightPoint);
				} 
			} 
		}); 
    } 
    /** 
     *인터페이스를 만들어서 여기에서 사용할 수 있도록 해야지.. */ 
 
    public boolean onKeyDown(int KeyCode, KeyEvent event) {
 
		if (KeyCode == KeyEvent.KEYCODE_BACK) {
			System.exit(0);
			return true;	//exit 
		}