Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,820 Members 48,392 Now Online
XDA Developers Android and Mobile Development Forum

LED Flashlight,

Tip us?
 
Phil750123
Old
#1  
Phil750123's Avatar
Senior Member - OP
Thanks Meter 61
Posts: 512
Join Date: Apr 2010
Location: Birmingham, UK
Default LED Flashlight,

Just a thought guys, if this isnt already out there which i cant seem to find.


Could anyone make a app that turns the flash light to on so it can
be used as a light?
Seen it done on other phones would just be a nice feature.
 
jayshah
Old
#2  
Senior Member
Thanks Meter 101
Posts: 215
Join Date: Jul 2009
We need root for this.

Wait for root to go public, then this will probably follow (I doubt you need write access to /system for it).
 
th3
Old
#3  
Senior Member
Thanks Meter 58
Posts: 1,060
Join Date: Apr 2010
Location: UK-KSA-S.E.Asia
Default Re: LED Flashlight,

Quote:
Just a thought guys, if this isnt already out there which i cant seem to find.

Could anyone make a app that turns the flash light to on so it can

be used as a light?
Personally I doubt it will be feasible. Too many symbian phones we messed around with for years trying to make it happen, unsuccessfully (in some way or another). Would've been excellent if it was accomplished though. Even just a method to blink the flash on a press would be excellent.


Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
 
Bart1981
Old
#4  
Bart1981's Avatar
Senior Member
Thanks Meter 54
Posts: 743
Join Date: Dec 2006
Location: Utrecht
With root it's possible for the Nexus so why not for the Desire. But we still have to wait for the Root acces. Damn waiting takes so long!
 
bakedecake
Old
#5  
Senior Member
Thanks Meter 6
Posts: 130
Join Date: Mar 2009
This function is built into the Quick Settings app you can get for free in the market isn't it?
 
The Asgard
Old
#6  
Senior Member
Thanks Meter 0
Posts: 127
Join Date: Apr 2010
Quote:
Originally Posted by bakedecake View Post
This function is built into the Quick Settings app you can get for free in the market isn't it?
Its currently not supported. Just tried it.
 
th3
Old
#7  
Senior Member
Thanks Meter 58
Posts: 1,060
Join Date: Apr 2010
Location: UK-KSA-S.E.Asia
Default Re: LED Flashlight,

Yeah, that option just enables a bright white screen for now.


Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
 
Damunix
Old
(Last edited by Damunix; 26th April 2010 at 04:42 PM.) Reason: 255 is a little big
#8  
Junior Member
Thanks Meter 1
Posts: 29
Join Date: Apr 2010
well it seems to be possible without root access, while I can active the flashlight led with a

echo 125 > /sys/devices/platform/flashlight.0/leds/flashlight/brightness

If I have time, I will make a little widget that will do it
 
Brodel
Old
#9  
Senior Member
Thanks Meter 14
Posts: 104
Join Date: Oct 2008
Quote:
Originally Posted by Damunix View Post
well it seems to be possible without root access, while I can active the flashlight led with a

echo 125 > /sys/devices/platform/flashlight.0/leds/flashlight/brightness

If I have time, I will make a little widget that will do it
That would be awesome if it's possible, it's pretty much the only feature that I think is missing from the Desire as far as I'm concerned.
 
Damunix
Old
(Last edited by Damunix; 26th April 2010 at 06:13 PM.)
#10  
Junior Member
Thanks Meter 1
Posts: 29
Join Date: Apr 2010
Ok I made some tests, it will not be a problem to develop a simple application (would be better than a widget ?) with a variable light power

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more

Google Glass XE20.1 Update Brings Improved Contacts, Head Nudge, New Cards and Commands

Ever since Google unveiled Android Wear earlier this … more

Remote Control Your Android Device with Monitordroid

The Android OS showsgreat potential in many areas. One of most interesting things that … more

Intel Partners with Unity to Support Android on Intel-Based Devices

Intel, largely known for their long-standing reputation as the king of … more