Sony Updates AOSP Sources to Android 5.0.1

Just a few days ago, Sony did an utterly fantastic job by pushing out numerous device trees for … more

Stop Your Screen From Turning Off with KeepItOn

We all know the feeling of reading a news article orrather longdocument, when our screen … more

The XDA LG QPair Developer Challenge Voting Has Begun!

It seems like it was just yesterday that weannounced that we had paired up with LGto … more

Major Update for the Sony Smartwatch 2 Brings DND and More

With the wearables landscape now dominated by Android Wear and Pebble, its … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP NetRipper

1st September 2008, 04:16 PM   |  #21  
da_jojo's Avatar
Senior Member
Flag Utrecht
Thanks Meter: 2
 
566 posts
Join Date:Joined: Nov 2006
More
great idea using the g-sensor but what if you want the flashlight to be stationary ? it would mean one should shake the device at least every 10 seconds.

most of the use i make of the flashlight is to put the device on a object somewhere and let it light the area under it. so it would be nice if the flashlight can be turned on and stays this way for at least 5 minutes or so.
i tested with the htc wizard and it didnt do any harm to it burning for 10 minutes or longer. its just freaking irritating to have to turn it on all the time.
the led wont die of it. actually when you see the bright flash when you take a picture that is the only 2 seconds that it will burn at maximum capacity. the only thing which is hurt by this is the battery running low quicker then normal. also this is not an issue as the phone can draw a lot more energy from the battery then is used most of the time.
1st September 2008, 04:37 PM   |  #22  
Junior Member
Flag W-w
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2008
More
g-sensor
oh, that is really great idea ineed. Although I've got a lot of windows desktop coding to do (work) I'll try to do this after midnights

well it could be like that:
1) as soon as there is no movement detected timer starts counting. and disables led after given time. any g-sensor activity resets timer.
2) no timeout for users who would like to take their chances
Last edited by sysrq12; 1st September 2008 at 04:41 PM.
1st September 2008, 04:43 PM   |  #23  
Junior Member
Flag W-w
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2008
More
Quote:
Originally Posted by PauloJ5

Any chance of a version for the LG KS20 ?

well... I don't have LG KS20...
1st September 2008, 04:48 PM   |  #24  
da_jojo's Avatar
Senior Member
Flag Utrecht
Thanks Meter: 2
 
566 posts
Join Date:Joined: Nov 2006
More
Quote:
Originally Posted by sysrq12

g-sensor
oh, that is really great idea ineed. Although I've got a lot of windows desktop coding to do (work) I'll try to do this after midnights

well it could be like that:
1) as soon as there is no movement detected timer starts counting. and disables led after given time. any g-sensor activity resets timer.
2) no timeout for users who would like to take their chances


count me in on 2 LOL

on second thought it might be handy to turn it off while g-sensor indicates that the device is flat on the table
1st September 2008, 05:13 PM   |  #25  
nolovelust's Avatar
Senior Member
TR
Thanks Meter: 14
 
305 posts
Join Date:Joined: Dec 2005
add me too
1st September 2008, 06:35 PM   |  #26  
Banned
Flag Brooklyn
Thanks Meter: 6
 
1,632 posts
Join Date:Joined: Jul 2008
Awesome, works great. Thanks!
1st September 2008, 07:26 PM   |  #27  
Member
Thanks Meter: 0
 
76 posts
Join Date:Joined: Jul 2008
n1 netripper
1st September 2008, 09:16 PM   |  #28  
NetRipper's Avatar
OP Senior Member
Flag 's-Gravendeel
Thanks Meter: 41
 
563 posts
Join Date:Joined: Feb 2006
Donate to Me
More
I have just updated the first post with a new version of TorchButton. It allows the default timeout to be changed by modifying the HKLM\Software\TorchButton\FlashlightTimeout value (which is in seconds).

Thanks for everyone suggesting features. The G-Sensor idea is also very nice, but I just want to keep the software plain and simple. It sounds like "sysrq12" may be implementing the feature in his software.

@sysrq12, perhaps you should create a new thread if you have a new release of your software, just to keep it seperated and to prevent people from getting confused about which cabs to use.

Hope this satisfies everyone!
1st September 2008, 09:22 PM   |  #29  
Senior Member
Flag Nové Mesto nad Váhom/Slovak Republic/Central EU
Thanks Meter: 19
 
740 posts
Join Date:Joined: Apr 2005
Thsnks guys anyway. This is must-have application in every Raphael device and it is very good,that someone cares about it and implements user opinions in the software. Really cool.
1st September 2008, 11:37 PM   |  #30  
da_jojo's Avatar
Senior Member
Flag Utrecht
Thanks Meter: 2
 
566 posts
Join Date:Joined: Nov 2006
More
Quote:
Originally Posted by NetRipper

I have just updated the first post with a new version of TorchButton. It allows the default timeout to be changed by modifying the HKLM\Software\TorchButton\FlashlightTimeout value (which is in seconds).

Thanks for everyone suggesting features. The G-Sensor idea is also very nice, but I just want to keep the software plain and simple. It sounds like "sysrq12" may be implementing the feature in his software.

@sysrq12, perhaps you should create a new thread if you have a new release of your software, just to keep it seperated and to prevent people from getting confused about which cabs to use.

Hope this satisfies everyone!

got me just as excited as the moment i got this phone brought to my door...
this tell you enough ?

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes