Android 5.1.1 Omni ROM For Motorola Xoom

Back in Feb 2011, the Motorola Xoom became the first device to be sold with Android 3.0 … more

CleanSlate Brings Fingerprint Scanner Mod to HTC One M9+

Work of XDA Recognized Developer tbalden, CleanSlate custom kernel for the HTC … more

Sunday Debate: Which Factors Caused HTC’s Woes?

Join us in a fun Sunday Debate on HTC’s situation. Come with your … more

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

[UPDATED 28-04-2009] TorchButton v1.5, using camera LED for flashlight

563 posts
Thanks Meter: 42
By NetRipper, Senior Member on 31st August 2008, 07:54 PM
Post Reply Subscribe to Thread Email Thread
31st August 2008, 11:00 PM |#11  
NetRipper's Avatar
OP Senior Member
Flag 's-Gravendeel
Thanks Meter: 42
Donate to Me
Originally Posted by da_jojo

the flashlight has a normal condition and a very bright condition. would it be possible to make a dimmer on the flashlight so that for example one can attach it to the volume buttons on the side ?

The flash indeed has two modes. However, the very bright mode is automatically disabled after 1 or 2 seconds by the camera driver. It's possible to make it sleep for that amount of time and re-set the bright mode, but I can't imagine it being very good for the LED to burn for a longer period of time at that mode. It would also flicker every 1 or 2 seconds.

I think the normal LED is bright enough, so unless the demand for the extra bright setting is overwhelming, I'll keep it like this.
31st August 2008, 11:20 PM |#12  
da_jojo's Avatar
Senior Member
Flag Utrecht
Thanks Meter: 2
mm that sucks.
its not a great idea to have a flashing flashlight unless one wants to drive anyone crazy or likes discolights ... maybe an idea lol... a stroboscope.. or some sort of signaling light..

it wouldnt hurt to have the LED on for a longer period. since the lifespan is over 50000 hours and it is running on lower power then intended .. only thing, is that it takes toll on the battery. i wouldnt care to much for the LED as it will last longer then the phone's display.
31st August 2008, 11:48 PM |#13  
Senior Member
Thanks Meter: 2
Looks good to me, but you could always play on words and rename it TorchPro. :D
1st September 2008, 01:27 AM |#14  
Junior Member
Flag W-w
Thanks Meter: 0
yesterday I wrote for myself something just like yours. but i prefered fullscreen button which would change color to black while LED switches on (useful in dark places - eyes are not blinded by bright screen).

it is possible to change timeout (setting written in registry) using track bar or up-down, left-right keys.

enter key switches LED on and off. just like big on screeen button.

have fun.
Attached Files
File Type: cab FlashLightCab.CAB - [Click for QR Code] (29.0 KB, 437 views)
1st September 2008, 09:22 AM |#15  
Thanks Meter: 1
Great stuff, works really well.
1st September 2008, 10:44 AM |#16  
Nadavi's Avatar
Senior Member
Thanks Meter: 4
Donate to Me
Originally Posted by steveoidm

Great stuff, works really well.


Just what i was looking for,
1st September 2008, 11:55 AM |#17  
Senior Member
Flag Nové Mesto nad Váhom/Slovak Republic/Central EU
Thanks Meter: 20
Thank you guys. You,re perfect. I was very sad,when I found out,that VJCandela doesn't work.
1st September 2008, 02:13 PM |#18  
ZaJules's Avatar
Senior Member
Flag Port Elizabeth
Thanks Meter: 61
new feature request.

Using the Gsensor let it keep the led on as long as the device senses motion, put it down and it turns the led of in 10 seconds.



1st September 2008, 02:21 PM |#19  
billu's Avatar
Senior Member
Thanks Meter: 1
Now thats an excellent suggestion.

Are we 100% sure that leaving the LED on for prolonged periods at the low level is not going to have any adverse effect on it.
1st September 2008, 02:42 PM |#20  
Senior Member
Thanks Meter: 1
Any chance of a version for the LG KS20 ?
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes