Remove unnecessary method.
Add MIT License
Change unnecessary method parameter type.
Add MIT License
Correct bug in onStop() method : if no flash, camera is null and camera.release throw nullPointerException.
Add some comment
Add MIT License