Google Maps, My Maps, YouTube, Androidify, Slides, Music Updated–Here’s What’s New

In the last few weeks, Google has been … more

SuperSU BETA: Root Android Lollipop on Stock Kernel

Up until now, if you wanted to get root on Android 5.0, you needed to flash a modified … more

Android App Review: Get Amaze with Material Design – XDA TV

Material Design is all the buzz in the Android world right now. Android 5.0 … more

Small But Eternal: HTC Explorer Receives Unofficial CM12

When HTC officially announced the HTC Explorer, they most likely weren’t … 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

11th November 2008, 07:19 PM   |  #101  
Senior Member
Flag Cali
Thanks Meter: 18
 
825 posts
Join Date:Joined: Jun 2006
More
have yall seen this before would be interesting if some of the features in this app could be added to TorchButton
http://www.artamata.com/pocketlight/
11th November 2008, 08:18 PM   |  #102  
NLS's Avatar
Senior Member
Flag Piraeus
Thanks Meter: 46
 
2,393 posts
Join Date:Joined: May 2005
well the only interesting idea is Morse code (but mostly useless idea - except if you have many friends reading Morse code)

the others are just stupid features or just marketing talk of something really simple
11th November 2008, 10:14 PM   |  #103  
Senior Member
Flag Nové Mesto nad Váhom/Slovak Republic/Central EU
Thanks Meter: 19
 
740 posts
Join Date:Joined: Apr 2005
Once upon a time,Vijay has an idea to use VJCandela code for sending SOS notification via LED using Morse code. Simple ...---... cyclicaly. Maybe that can be also useful feature(example:You have an accident in dark forest evening or in night,or to calling an incoming ambulance on the road in the night to find you quickly,or to stop someone on highway when needed...). Hope,this feature we will never need in praxis,but the idea is here.
11th November 2008, 10:23 PM   |  #104  
Senior Member
Flag Saint-Petersburg
Thanks Meter: 15
 
126 posts
Join Date:Joined: Sep 2006
More
As my opinion> the main feature is a working LED in sleep mode (with power button)! Then this future is done, Raphael finaly do the Light function.
I think SOS, morse or bicycle features is a addon? and this features may realaised by a author of a hTorch app: http://forum.xda-developers.com/showthread.php?t=440405
11th November 2008, 10:30 PM   |  #105  
Senior Member
Flag Nové Mesto nad Váhom/Slovak Republic/Central EU
Thanks Meter: 19
 
740 posts
Join Date:Joined: Apr 2005
Quote:
Originally Posted by Igoran

As my opinion> the main feature is a working LED in sleep mode (with power button)! Then this future is done, Raphael finaly do the Light function.
I think SOS, morse or bicycle features is a addon? and this features may realaised by a author of a hTorch app: http://forum.xda-developers.com/showthread.php?t=440405

Yes,you're right. These features can be the add-ons. Just for me(my device setup) is the display-off thing not very important,because I have with AEBPlus mapped the Action button long press for display-off,so one more click will do that job. But is JUST my setup. Really,I don't want to make the developers busy with additional features,when they are preparing something different. These features can release anyone skilled in C++ or C#.
11th November 2008, 10:48 PM   |  #106  
DeepThought's Avatar
Senior Member
Flag Austria, Vienna
Thanks Meter: 1
 
748 posts
Join Date:Joined: Jul 2006
More
Quote:
Originally Posted by Igoran

As my opinion> the main feature is a working LED in sleep mode (with power button)! Then this future is done, Raphael finaly do the Light function.
I think SOS, morse or bicycle features is a addon? and this features may realaised by a author of a hTorch app: http://forum.xda-developers.com/showthread.php?t=440405

I could implement both of the mentioned features into hTorch, thats right. And I probably will since others requested this as well. But I personally would like to see this blinking LED feature as a build-in function into TorchButton with a customizable interval which can be set via registry key. I'm by far not such a good programmer like NetRipper is and that would make my "job" a lot easier!

I also would love to see the "working LED in sleep mode" feature. But I'm afraid that's not possible. As far as I know the LED can only be controlled via some DLL which comes with the Camera software not directly. And this DLL has some hardcoded protection which disables the LED when the device goes into sleep.
So I'm afraid the only possibility would be to prevent the device from falling into standby and to just turn of the display. I'm currently working on this for the next version of hTorch.

@NetRipper, please correct me if I said something wrong!
11th November 2008, 11:09 PM   |  #107  
NetRipper's Avatar
OP Senior Member
Flag 's-Gravendeel
Thanks Meter: 41
 
563 posts
Join Date:Joined: Feb 2006
Donate to Me
More
Quote:
Originally Posted by DeepThought

I could implement both of the mentioned features into hTorch, thats right. And I probably will since others requested this as well. But I personally would like to see this blinking LED feature as a build-in function into TorchButton with a customizable interval which can be set via registry key. I'm by far not such a good programmer like NetRipper is and that would make my "job" a lot easier!

I also would love to see the "working LED in sleep mode" feature. But I'm afraid that's not possible. As far as I know the LED can only be controlled via some DLL which comes with the Camera software not directly. And this DLL has some hardcoded protection which disables the LED when the device goes into sleep.
So I'm afraid the only possibility would be to prevent the device from falling into standby and to just turn of the display. I'm currently working on this for the next version of hTorch.

@NetRipper, please correct me if I said something wrong!

There is a way to enable the (nonbright) flashlight with low level memory access. But even then the light is turned off when entering standby. The reason is not the HTCCamera1.dll, but the HTC-specific code that is executed when entering standby. Enabling flashlight on low level has no additional value that way, which is why I'm not using it. I know this as I've used this approach to find out where it hung when I was getting Linux to work on the Raphael (display didn't work, but led could show me that it reached some part of the code).

Anyway, I will make a new release with the 'blink' feature. And I think it's not hard to put in SOS as well, so I'll do that too.

@DeepThought, you could use my C# library to easily control the light. I made it real easy that way.
12th November 2008, 07:13 AM   |  #108  
Senior Member
Flag Arizona
Thanks Meter: 4
 
460 posts
Join Date:Joined: Jan 2007
More
[FR] ScreenLight feature
Quote:
Originally Posted by Keland44

have yall seen this before would be interesting if some of the features in this app could be added to TorchButton
http://www.artamata.com/pocketlight/

About the only feature I'd like to see implemented from this app into TorchButton would be the following:

ScreenLight - by showing a bright white full-screen display and disabling the timeout for backlight, gives a softer light than the flashlight which can be great for reading at night.

I seem to recall someone asking if, in addition to the extra-bright option, it would be possible to have a less-bright option. I can see times where this would be a nice option to have as the default brightness is quite high and simply having a white full-brightness LCD would be more than sufficient. This could even be extended by including a slider to adjust the backlight so the user could set it to be as dim/bright as desired.

Thoughts?
12th November 2008, 08:40 AM   |  #109  
NetRipper's Avatar
OP Senior Member
Flag 's-Gravendeel
Thanks Meter: 41
 
563 posts
Join Date:Joined: Feb 2006
Donate to Me
More
Quote:
Originally Posted by del4

About the only feature I'd like to see implemented from this app into TorchButton would be the following:

ScreenLight - by showing a bright white full-screen display and disabling the timeout for backlight, gives a softer light than the flashlight which can be great for reading at night.

I seem to recall someone asking if, in addition to the extra-bright option, it would be possible to have a less-bright option. I can see times where this would be a nice option to have as the default brightness is quite high and simply having a white full-brightness LCD would be more than sufficient. This could even be extended by including a slider to adjust the backlight so the user could set it to be as dim/bright as desired.

Thoughts?

This already exists in the Diamond forums, named Flashlight. That's their alternative, as they don't have a camera flashlight.
12th November 2008, 11:03 AM   |  #110  
NLS's Avatar
Senior Member
Flag Piraeus
Thanks Meter: 46
 
2,393 posts
Join Date:Joined: May 2005
Indeed this is an application related to the *** LED ***.
Let's keep it like that.

The only "interaction" with the screen I would like to see, is to turn backlight (or screen) off when LED is on, so that screen light does not interfere with my vision in the dark.

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

Advanced Search
Display Modes