Linked Questions
75 questions linked to/from How to turn on front flash light programmatically in Android?
1
vote
1
answer
20k
views
Android Camera Flash Control [duplicate]
Possible Duplicate:
How Turn on only Camera flash light programmatically in android?
okay guys, I have been looking for a little while and I cant seem to find this anywhere, I would like to grant ...
1
vote
1
answer
17k
views
Turning on camera flash LED in Android? [duplicate]
Possible Duplicate:
How turn on camera flash light programmatically in Android?
so how do you turn on the camera's "flash" LED in Android? (like flashlight apps) - and is it possible to vary the ...
OJW's user avatar
- 4,659
1
vote
1
answer
19k
views
How to turn on flash light on android phone without runing camera application [duplicate]
I am trying to make a small android app were I want to turn on the flash light on my LG P970 without actually turning on the camera application. Is this possible because from what information I have ...
2
votes
1
answer
3k
views
Android - Using Camera Flash [duplicate]
Possible Duplicate:
How Turn on only Camera flash light programmatically in android?
I am developing an android application in which i have to work with camera flash.
The application is something ...
2
votes
1
answer
200
views
Is there a way to turn on and off the flashlight of front camera? [duplicate]
I googled to find front flash light to use as a torch but I am not able to find any answer.
Is there a way or not if so ?
How to ?
58
votes
14
answers
110k
views
android java lang runtimeexception fail to connect to camera service
I am currently working on Flashlight On/OFF. I am getting this error java.lang.RuntimeException: Fail to connect to camera service I don't know why this error is occurring. I referred to many ...
44
votes
11
answers
32k
views
How does CameraX library can turn ON/OFF the torch?
I am developing a feature with the possibility of switching the torch into ON/OFF states. Some days ago, we saw a new library from Google in io2019. I came up with an idea, why not use it.
After some ...
53
votes
7
answers
92k
views
Use camera flashlight in Android
I'm trying to use the cameras LED flashlight in a widget. I've found several threads about this topic (i.e. the one mentioned later..) , now I'm trying to control the light using:
Camera cam = Camera....
37
votes
6
answers
43k
views
Can I change the LED intensity of an Android device?
Is there a way to set the LED intensity that I desire? I know that to turn on the LED I use:
p.setFlashMode(Camera.Parameters.FLASH_MODE_TORCH);
mycam.setParameters(p);
But this code just ...
37
votes
4
answers
35k
views
Widget for turning on/off camera flashlight in android
I am developing a widget for turning on/off camera led of phone.
I have made a widget that can work like toggle button (on/off).
Behavior is like follows : Sometimes the led light remains on when i ...
24
votes
1
answer
21k
views
LED flashlight on Galaxy Nexus controllable by what API?
So many LED flashlight API questions for Android. I'm afraid to ask yet another, but here goes..
Using the tried and true FLASH_MODE_TORCH I am able to achieve satisfaction with my Samsung Galaxy ...
6
votes
4
answers
36k
views
Android Turn on/off Camera Flash Programmatically with Camera2
I am making a simple application that acts as a flashlight. I need to be able to turn on and off the flash from a button in the application with the Camera2 API, as I get errors with the old camera ...
18
votes
1
answer
111k
views
Turn ON/OFF Camera LED/flash light in Samsung Galaxy Ace 2.2.1 & Galaxy Tab
I am turning ON Camera LED light using FLASH_MODE_ON.
Samsung Galaxy Ace have only three flash modes : on, off and auto.
FLASH_MODE_TORCH not working in Samsung Galaxy Tab & Samsung Galaxy Ace ...
3
votes
7
answers
10k
views
When Setting Flash Mode for Camera Paramters in zxing set Parameters failed exception in android
I am integrating barcode scanning functionality using zxing in android, my app includes turn on/off flash light functionality by button press.
When the flash button is pressed it sets the flash to ...
7
votes
3
answers
4k
views
Opening Flashlight of Galaxy Nexus
I am developing an app which needs to open the flashlight of my Galaxy Nexus device. I have referred to the post here
LED flashlight on Galaxy Nexus controllable by what API?
public class TestCamera ...