Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//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();
    }
}