We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the solution you'd like
I hoped this would let me use the camera (preview) with the light active. Can this feature be added?
The text was updated successfully, but these errors were encountered:
I don't think so, because flashlight is a camera feature. If you look here: https://github.com/kb-1000/android-torchlight/blob/master/app/src/main/AndroidManifest.xml#L10
You see that the app declares both CAMERA and FLASHLIGHT.
If you look here: https://stackoverflow.com/a/48553060
Apparently apps can sometimes crash if they don't declare CAMERA with FLASHLIGHT together (probably applies to certain devices).
And if you look here: https://developer.android.com/guide/topics/media/camera.html#release-camera
You see that cameras cannot be used at the same time by multiple apps.
As the flashlight is inherently part of the camera per the system specifications, another app cannot also use the camera as well.
Sorry, something went wrong.
No branches or pull requests
Describe the solution you'd like
I hoped this would let me use the camera (preview) with the light active. Can this feature be added?
The text was updated successfully, but these errors were encountered: