Java tutorial
//package com.java2s; import android.hardware.Camera; import android.util.Log; public class Main { private static Camera mCamera; static void releaseFrontCamera() { // TODO Auto-generated method stub Log.d("TestCamera", "Releasing Front camera"); if (mCamera != null) mCamera.release(); } }