Linked Questions

1 vote
1 answer
20k views

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

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

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 ...
Nangu Haci's user avatar
2 votes
1 answer
3k views

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 ...
Tejas J's user avatar
  • 51
2 votes
1 answer
200 views

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 ?
Md Aman's user avatar
  • 340
58 votes
14 answers
110k views

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

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

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

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

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

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 ...
Malachi's user avatar
  • 2,501
6 votes
4 answers
36k views

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

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

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

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 ...

15 30 50 per page
1
2 3 4 5