3 ms·
They should only need Camera access. Or, if they're built to the new Android 6.0 APIs, they can use setTorchMode which is even better. http://developer.androi
by JohnTHaller 11y ago
They should only need Camera access. Or, if they're built to the new Android 6.0 APIs, they can use setTorchMode which is even better.
http://developer.android.com/reference/android/hardware/camera2/CameraManager.html#setTorchMode http://developer.android.com/reference/android/hardware/came...
Granted, they're unnecessary now because flashlight on/off is in the pulldown.
- kevin_thibedeau 11y agoThere is still the nuisance that the camera is activated for the torch mode and the autofocus hardware is audible on some phones.
- JohnTHaller 11y agoThat's really more the fault of the phone manufacturer than of Android, though. Most likely, the camera firmware and binary blob driver aren't distinguishing the calls.