Code example for Camera

Methods: lockrelease

0
			recording = false;
		} 
		recorder.release();
		if (usecamera) {
			previewRunning = false;
			camera.lock();
			camera.release();
		} 
		finish();
	} 
 
	public void onPreviewFrame(byte[] b, Camera c) {
		 
	} 
	 
    @Override 
    public void onConfigurationChanged(Configuration conf) 
    { 
        super.onConfigurationChanged(conf);
    }