It looks like you're new here. If you want to get involved, click one of these buttons!
I want to light up my flashlight when i press a button (for exemple) but i don't know how to do :((
Help me please !
@aquen24 -- you need to say more!
Flashlight of what specific kind, connected to what?
Share the code that you have created so far -- in particular, what kind of sketch mode is it?
Flashlight on android with Android mode. For Samsung Grand Prime (sm-g530fz)
One way to do it is using the ketai lib that you can install directly from Processing's lib manager. Then open the example dialog and go to Contributed Libraries>>Ketai and open CameraGettingStarted.pde where you can see one way to access the camera flash of your device (and use it as a flashlight, for instance).
You can also check the android pages and stack overflow:
thanks you lot !