Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Phil750123
Old
#1  
Phil750123's Avatar
Senior Member - OP
Thanks Meter 55
Posts: 488
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 26
Posts: 191
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 38
Posts: 966
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 46
Posts: 698
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 38
Posts: 966
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 13
Posts: 101
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

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more