So Android M recently came out and it now has a built in cameralight function called setTorchMode. I was curious as to how this worked as the parameters are (String cameraID, Bo
You should use CameraManager "getCameraIdList" function which will retrieve you a list of strings where each represent an active camera.