Led intensity

jesustarre

Member
Licensed User
Longtime User
Hello
I'm developing little flashlight app using cameraex class and I want to know if is possible control the led intensity (brightness).

Thanks
 

yttrium

Active Member
Licensed User
Longtime User
Android doesn't provide any API for the led intensity.

I know it's possible though, the CM10 Torch utility has multiple brightness levels.

This will probably require Reflection.
 
Upvote 0

yttrium

Active Member
Licensed User
Longtime User
Just remember that CM10 is a CUSTOM ROM.

Yes, but the Torch app works on AOSP when I copy it over to my other device.

It probably requires root but there must be some way to make it work with Reflection.
 
Upvote 0
Top