Code example for OrientationEventListener

Methods: disable

0
     
        return dialog;
    } 
    @Override 
    protected void onPause() { 
    	mListener.disable();
    	super.onPause(); 
    } 
     
    protected void onStop() { 
    	//mListener.disable(); 
    	super.onStop(); 
	} 
 
	@Override 
	protected void onDestroy() { 
		 
		super.onDestroy(); 
	} 
	 
	public void surfaceCreated(SurfaceHolder holder) {