Android Question LED switch on / off

pucki

Active Member
Licensed User
I'm from Germany and there are electricity meters there where you can query the consumption figures.

To do this, you have to light up a diode and thereby enter the code so that you can access the device. I wanted to trigger this "blinking" via APP.

So I press a button and the LED (of the speed camera) goes on and off according to my specifications.

My question is: How can I turn the LED on or off ???

Many thanks for the answer

greeting

Pucki

p.s: This text was written in DE and translated via Google translator. I can read English well, but I can't write. Sorry
 

pucki

Active Member
Licensed User
I ONLY want the flashlight switch ON and OFF whis my Prg. Thats all.

I looked in the Camera + Camera2 Libs but i don't found the Command

Can anywhere post me a little Code (2-3 Rows) and the Libs as why use.

Many Thanks

Pucki
 
Upvote 0
Top