Code example for Camera

Methods: getParametersstartFaceDetection

0
	        } 
	    } 
	} 
	public void startFaceDetection() { 
	    // Try starting Face Detection 
	    Camera.Parameters params = mCamera.getParameters();
 
	    // start face detection only *after* preview has started 
	    if (params.getMaxNumDetectedFaces() > 0) {
	    	Toast.makeText(_activity, "Max Num Faces Allows: " + params.getMaxNumDetectedFaces(), Toast.LENGTH_LONG).show();
	        // camera supports face detection, so can start it: 
	        mCamera.startFaceDetection();
	    } 
	} 
	 
	 
	 
	 
	 
    @Override 
    public boolean onCreateOptionsMenu(Menu menu) {