这两个函数就是onPause,和onResume,并且要call它的GLSurfaceView的onPause和onResume函数。

    @Override
    public void onPause(){
        super.onPause();
        Log.i(TAG+"::onPause", "being called!");
        if(_tubeview!=null)
            _tubeview.onPause();
    }
   
    @Override
    public void onResume(){
        super.onResume();
        Log.i(TAG+"::onResume", "being called!");
       
        if(_tubeview!=null)
            _tubeview.onResume();
    }

Advertisements