Code example for ScheduledExecutorService

Methods: shutdownNow

0
        } 
    } 
 
    @Override 
    public void surfaceDestroyed(SurfaceHolder holder) {
    	faceDetectScheduler.shutdownNow();
        mCamera.stopPreview();
    	mCamera.release();
    } 
     
    @Override 
    public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) {
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE