flashlight Questions

6

Solved

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 turn...
Congruous asked 11/5, 2011 at 20:26

14

Solved

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 solut...
Demarcation asked 28/5, 2014 at 6:42

15

Solved

I'd like to add flashlight functionality to my app in Swift. How can I go about doing that?
Tacket asked 29/11, 2014 at 21:22

10

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

2

Solved

I'm using AVCaptureDevice.setTorchModeOn(level) method to turn on the flashlight at variable brightness. On my old iPhone SE it's working fine — I can clearly see 4 different brightness levels as ...
Martino asked 12/2, 2020 at 21:21

2

Solved

im using react-native-qrcode-scanner and what i want to do is : when user press on a flashlight icon flashLight go on i done this : <QRCodeScanner showMarker onRead={this.onSuccess.bind(this)...
Markitamarkka asked 30/4, 2019 at 10:23

4

Can I use camera preview and flashlight at the same time in Android Camera2 API? When I try use CameraManager.setTorchMode(String cameraId, boolean enabled) it's work fine when camera is not opene...
Derek asked 24/10, 2015 at 23:57

1

Solved

I'm developing a flashlight app using Camera 2 API. Every thing works fine. While developing the app I came across quite a few tutorials and even posts from stack-overflow where people have used "...
Scoop asked 31/1, 2018 at 22:57

1

I have problems with running iPhone X flash in torch mode. Back AVCaptureDeviceTypeBuiltInTelephotoCamera selected as capture device: com.apple.avfoundation.avcapturedevice.built-in_video:2' - AV...
Abbyabbye asked 8/11, 2017 at 13:54

2

Solved

I'm building an iOS app in Swift with a Firebase backend. I need advanced search options for my app. I've been told I should use Flashlight/ElasticSearch via this github link https://github.com/fir...
Flavia asked 19/12, 2016 at 22:4

4

I have a problem regarding the camera in the most recent Marshmallow build, more specifically the flashlight. On any pre-Marshmallow version all I need to do to turn the flash on/off was the follow...

1

Solved

Hi i am using a location based app and wants to use iphone camera flashlight while in background.Unfortunately flashlight is working only in foreground ,it automatically turns off the flash in back...
Thanatos asked 21/8, 2015 at 9:3

5

Solved

Update Check out my answer Original I'm trying to turn on the camera flashlight on the LG Revolution within my program. I use the torch mode method which works on most phones but not on LG phone...
Aglitter asked 10/8, 2011 at 1:38

4

I'm working on a flashlight app using the camera flash. It seems to work fine but on occasion calling camera.release() causes a hang for about a minute or so. I've included the code below. I've loo...
Eleonoreleonora asked 9/1, 2012 at 1:41

7

Solved

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 = Cam...
Haughay asked 31/3, 2011 at 16:58

1

I am looking for help in Android camera LED Flash for changing intensity of it like this app. I have checked following link but i am not getting exact result from it. Can I change the LED intens...

1

Solved

I'm trying to develop a flashlight application for a local concert. This is part of a bigger application so it is in a fragment. This is the code: First I declared the class together with its vari...
Infante asked 25/7, 2014 at 15:49

1

I wrote a simple flashlight app that I've tested on an HTC Sensation, Nexus 7, HTC One, Moto X, Galaxy S3, Galaxy S4, and a Nexus 5. The only one that it doesn't work on is the Nexus 5. It doesn't ...
Eveland asked 28/1, 2014 at 21:32

4

I am trying to write an app which turns on flash light when a button is pressed. The problem is the app is not detecting flash light on my phone. I have searched alot on internet. Sure others have ...
Crampon asked 7/7, 2013 at 17:40

4

Solved

I am developing a flashlight App in which there is a normal flashlight in one activity and strobe light in one activity. Now I am acquiring the camera in onCreate of Flashlight activity. But when I...
Dann asked 25/4, 2014 at 11:1

3

I'm currently developing an app for android that uses the flash. My miserable problem is that I don't have a device featuring a flashlight... Is there any emulator in the world that shows the flash...
Crybaby asked 20/1, 2014 at 1:22

2

Solved

I am writing an Android Camera App and trying to implement Flash functionality, I am using SurfaceView, whenever i do tap on flash button toggle works but flash not coming... see my below code i ha...
Carpogonium asked 22/1, 2014 at 7:40

3

Solved

since i'm at the beginning with Android coding i hesitated to post my question, but now i'm at the point where i can't resist. I have a service which turns on the camera-LED onCreate: @Overrid...
Mitrewort asked 8/11, 2011 at 18:57

2

Solved

I've got the following problem: My Flashlight app works fine on my Samsung Galaxy S2 but unfortunately not on the Samsung Galaxy Nexus (problem: flashlight ignores the button-click -> no reaction, ...
Salvo asked 29/2, 2012 at 20:16

1

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 A...
Hypertrophy asked 4/8, 2011 at 10:30

© 2022 - 2024 — McMap. All rights reserved.