Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
55 views

I have a Windows 10 hybrid laptop/tablet that has a rear camera with flash. I want to control the flashlight from an Electron app. You can verify the availability of the flashlight with this ...
saied's user avatar
  • 35
0 votes
0 answers
30 views

I tried to replicate a flashlight-cursor (black background so the cursor illuminate the text), but it doesn't go down when you scroll down in the screen. It is a large text (it's a short-story), so I ...
Omar Eduardo Barenas's user avatar
1 vote
0 answers
92 views

I see some open-source flashlight apps (FlashDim , Flashlight-Tiramisu) that can control flash strength from Android version 13+, but these apps build using Kotlin and XML (not in jetpack compose). So ...
Mehedi Hasan's user avatar
1 vote
0 answers
178 views

For example this screenshot belongs to Daemon Tools (which is programmed in C#): As you can see in this screenshot, I want to create flashlight effect which follows cursor. How can I do this in ...
Çağatay KAYA's user avatar
-1 votes
1 answer
55 views

I want to create an Android application using Java that displays the toast message when the user turns on or off the flashlight from the system and not from the app. I discovered that there is no ...
Dhwani Patel's user avatar
2 votes
2 answers
3k views

I want to use device's flashlight in my flutter applications, to turn it on and off in certain intervals, and I am looking for a way to use it. All packages I found on pub.dev are not dart 3 ...
Anjos's user avatar
  • 21
1 vote
0 answers
136 views

Im a search I found an old expo plugin, but it doesn't seem to work anymore. With ReactNative npx I was able to use it, but I would like to use it with expo, is there nothing to replace it to make ...
Gabriel Guimarães's user avatar
0 votes
1 answer
121 views

currently I am making an app that requires both the phone camera and the phone flashlight to be turned on. However I am having this problem where 1 overwrites the other. Probably since they are both ...
user avatar
1 vote
0 answers
159 views

I'm a total noob android studio, I've been doing a little project with the flashLight and with the switch button and create a voice button and say " turn on the flash light " then the light ...
clarkchuni's user avatar
0 votes
1 answer
247 views

I have a routine that toggles the torch/flashlight setting.... func toggleTorch() { guard let device = AVCaptureDevice.default(for: .video) else { return } if device.hasTorch { ...
Richard Kirk's user avatar
2 votes
0 answers
366 views

I'm building a QR scanner inside a ReactJS web app that is supposed to run on both Android and iOS. However, I cannot get the torch/flashlight to work on iOS. I'm using the @blackbox-vision toolbox to ...
Anteino's user avatar
  • 1,156
0 votes
0 answers
149 views

Currently I'm trying to make an mobile app and I need to turn on the flash light of a mobile device. Actually I want to use it as a torch(On/off/blink etc). I searched in the qt docs and found QCamera ...
Mysterious Bits's user avatar
1 vote
0 answers
50 views

Does anyone have any experience or advice on how to access the flash light on a Honywell RT10W tablet? We use C # and WPF, the tablet has Windows 10 Enterprice LTSC. The camera is successfully ...
Jan Janek's user avatar
0 votes
1 answer
378 views

I've made a flashlight application and I want to add a functionality that allows the user to change flashlight's strength level if available I already know how to change the strength level using a ...
Omar Hemaia's user avatar
3 votes
1 answer
1k views

I have the standard code of toggling flashlight: @RequiresApi(Build.VERSION_CODES.M) private fun flashlightOff() { val cameraManager: CameraManager = getSystemService(Context....
Abhinav Prakash's user avatar
0 votes
1 answer
358 views

I am new to XML and android app development in general. I cloned the code for an app from github, for learning purposes. In the manifest page, this line is used twice <uses-permission android:name=&...
Aki's user avatar
  • 3
0 votes
0 answers
48 views

I want to keep blinking the flash forever until the value from firebase database is false. This is what I tried: boolean mIsOn = false; CameraManager camManager; String cameraId; @...
Sambhav Khandelwal's user avatar
0 votes
1 answer
979 views

How to Implement FlashToggle button in the camera app using cameraX? The flashlight should work properly along with the camera? @RequiresApi(Build.VERSION_CODES.M) private fun toggleFlash() { if(...
user avatar
-1 votes
1 answer
416 views

I have not found a single link for increasing and decreasing the flashlight intensity of Mobile phone. If any one know, Please provide a solution to me or refer a link.
Anwar Zahid's user avatar
2 votes
2 answers
2k views

My app shows a preview and video recording starts with a button press. What I'm trying to achieve is to automatically turn on flashlight (torch mode) as soon as the video recording starts. However I ...
Bruce's user avatar
  • 2,609
0 votes
1 answer
1k views

I want to activate the torch/flashlight by starting the scanner page, but its just not working. No error message. <?xml version="1.0" encoding="utf-8" ?> <zxing:...
everydayXpert's user avatar
1 vote
2 answers
1k views

I'm looking for something like this: CameraManager cameraManager = (CameraManager) getSystemService(CAMERA_SERVICE); cameraManager.setTorchMode("0", true); cameraManager.setTorchLevel("...
idle's user avatar
  • 21
1 vote
0 answers
200 views

I've been trying to access the flashlight and other sensors using Flutter on my device. However, for the time being, I need the access to the flashlight only (just for the turn-on ad turn-off event), ...
Vaibhav's user avatar
  • 414
0 votes
1 answer
139 views

I want to record video along with flashlight turned on, I tried many packages but none of are working, Any body know how to do this in flutter.
Dipak Prajapati's user avatar
2 votes
1 answer
286 views

I developed a simple application to turn ON/OFF flashlight. But I couldn't find a way to turn on front flashlight of a device(if available). Code for availability check : boolean hasCameraFlash = ...
Lasith's user avatar
  • 58
1 vote
1 answer
2k views

By using a flutter package from pub.dev named "torch_compat 1.0.2" for turning on/off flashlight in android app, how to turn off flashlight (trigger TorchCompat.turnOff()) when locked or off ...
Anil Shrivastav's user avatar
0 votes
1 answer
859 views

I have an app with a simple toggle switch that turns the flashlight on and off, I needed code I can use to check if the Flashlight is already on and then use that to change the toggle state of the ...
user avatar
1 vote
0 answers
398 views

i have a trouble that can't resolve. I'm doing an Android Xamarin form application that use camera (like a scanner) to capture QR Code (for this i use Zxing NuGet Package). The problem is occured when ...
Rostifer's user avatar
3 votes
0 answers
1k views

In my application I am using the Smartphone's flash light when a Notification arrives. When a new Push notification arrives the following function gets executed. private static void flashlight(...
naggab's user avatar
  • 401
1 vote
1 answer
4k views

You need to turn on the LED on your phone. I wrote a simple application. The LED should turn on when the app starts. The code matches the solutions on Stackoverflow Application code: package com....
Виталий Улыбин's user avatar
1 vote
0 answers
839 views

I'm trying to make an iOS app where I can turn the torch on and change the brightness. I'm testing it on iPhone 11 with iOS 13.3.1 and Xcode 11.3.1 I used one of the solutions here: How to turn ...
JiminyKirket's user avatar
0 votes
1 answer
1k views

I'm creating an app that uses the camera and flashlight on android, the problem is that I need to turn flashlight on while the camera is running, I looked at some of the answers but none of them could ...
Husniddin Muhammad Amin's user avatar
10 votes
2 answers
1k views

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 I ...
Pavel Alexeev's user avatar
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
-1 votes
2 answers
135 views

I want to turn on a different android device's flashlight at the same time. Each android device turn flashlight with the different delay because of a hardware module for example Samsung devices take ...
Edalat Feizi's user avatar
  • 1,401
4 votes
1 answer
567 views

I have an icon of flashlight in my react-native application. I want to hide it if mobile device does not support flashlight or not has flashlight. In native android we have this solution: [https://...
Furqan's user avatar
  • 895
1 vote
1 answer
480 views

I am trying to register a CameraManager.TorchCallback using CameraManager.registerTorchCallback into a specific thread (ie: different from the UI Thread). My code is quite basic for an Camera2 ...
Nicolas Terisse's user avatar
2 votes
2 answers
879 views

I have created a flashlight fragment for my app and I have implemented this code and turning the flashlight on works, but I can't turn it off. I tried to switch the light on and off from one button or ...
P.Trenkle's user avatar
0 votes
0 answers
138 views

I am facing an exception "Camera is already in use". The thing i am doing is that i am using camera with seek bar as a magnifier and now i want to add flash functionality with it but i am facing this ...
Aqdas's user avatar
  • 1
2 votes
4 answers
1k views

I am trying to read through a string one character a time delaying .1 seconds before moving on to the next character. I have tried implementing the delay function inside the for loop but it has two ...
I. Winson's user avatar
0 votes
1 answer
494 views

I'm porting PyTorch code to Flashlight code. What is an Arrayfire or Flashlight function equivalent for squeeze and unsqueeze in Pytorch? processed_query = self.query_layer(query.unsqueeze(1)) ...
minty99's user avatar
  • 357
2 votes
0 answers
145 views

I've tried countless times to get a flashlight to work with a tablet that I'm working with. It is supposed to be very simple testing-app to test the tablet in question, so nothing fancy. I have tried ...
DeadlyHigh's user avatar
2 votes
1 answer
7k views

Turn flashlight on/off In QRcodeScanner React native I have follow the tutorial above, but still not working. It doesn't turn on the flash on pressing the touch opacity. The issue is the same as the ...
lcsvcn's user avatar
  • 1,223
1 vote
0 answers
77 views

I'm using Arrayfire and Flashlight evaluating a network. auto tmp = output(af::seq(2, 10), af::span, af::span, af::span); auto softmax_tmp = fl::softmax(tmp, 0); output(af::seq(2,10),af::span,af::...
dmrak's user avatar
  • 55
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 ...
Kewin Czupryński's user avatar
5 votes
2 answers
2k views

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....
MoHammaD ReZa DehGhani's user avatar
0 votes
0 answers
1k views

I am making an app which use the camera as well as Flash. I have set the Permissions for Camera in Android Manifest file and Do the code for start Flash one button click but unable to On flash on Post ...
Google's user avatar
  • 2,211
1 vote
1 answer
512 views

Im currently trying to activate the built in front flashlight on a Samsung Galaxy A6, but the device provides information like there is no built in front flash. I've already tried different methods, ...
ScheiberDominik's user avatar
2 votes
1 answer
2k views

We doing videorecording with strobelight and the framerate is 30 fps. If we set the strobe below 30hz we got a black frame in the video. if we set the strobe over 30hz we got a white frame. I found ...
Frank's user avatar
  • 21
1 vote
0 answers
1k views

I would like to know if the user has turned on the light over the control center before starting the app. I have a whole simple test app with the following code in the viewDidLoad. for(...
Stefan's user avatar
  • 300

1
2 3 4 5
8