yashsingh1/xdaforums huggingface dataset:
[Touch Pro, Fuze Themes and Apps] glix:
TorchButtom on HD2

Hallo NetRipper,

great many thanks for your answer. The problem seems to be the cab-file itself. It downlowads only the folder (39,9kb) without contents (should be 233kb in total, isn't it?

any idea? look forward to getting it right.

regards + danke

glix
[Touch Pro, Fuze Themes and Apps] glix:
Torch cab download

Hi NetRipper,

YES - I managed it - thanks a lot, it works perfeclty now!

regards

glix
[Touch Pro, Fuze Themes and Apps] brandpa:
Fails on my HTC HD2

Like the sound of this app but when called on my HD2 I get an error message error loading HTCCamera1.dll
[Touch Pro, Fuze Themes and Apps] brandpa:
Apology

Sorry - loaded wrong version - works a treat - thanks.
[Touch Pro, Fuze Themes and Apps] armowawa:
Great program thanks a bunch !
[Touch Pro, Fuze Themes and Apps] gKNOWS:
i have a stock att fuze and never got the PTT version to work? can anyone assist me in how i need to configure my device or edit any registries??
[Touch Pro, Fuze Themes and Apps] NetRipper:
I'm afraid the PTT version didn't work for AT&T Fuze after all (some reported that). Instead you can bind the normal or bright version to your PTT key, but then you have to hold your PTT again to stop it (instead of releasing it to stop).

The reason the PTT does not work has to do that the PTT key is not registered as a normal keyboard keystroke, which is what I'm checking for. ;)
[Touch Pro, Fuze Themes and Apps] The Avatar:
Thanks for this, just upgraded to the newest version of this TourchButton.

I like the idea of the PPT version, this seems very practicall, just a shame that my phone does not support PPT. But I make due with the G-trigger application

Might be an idea to add a link to G-trigger in the first post as I'm sure many other users will benefitt from being able to shake the phone to turn the light on and off.

About the thing you had listed under "Wishful thinking" (Camera app to interpret the morse), how about a text editor so that you can type in custom text and then send the message as morse code? Right now there is no effective way to send morse code messages using this application. The best way I can think of is turning on the bright mode and then cover and uncover the LED with a finger to make the dots and dashes. Would be neat if you could send short text messages as morse code.
[Touch Pro, Fuze Themes and Apps] NetRipper:
It's already possible to send morse code. There is the "SOS" app that (by default) sends SOS in morse code. However, you can change the text via a registry setting. Check the readme.txt for more info about that. After you change the reg setting, just launch the Torchbutton SOS app and it'll send the text you configured.

I'm not actively adding new features to this tool for the moment. Too busy on other things.
[Touch Pro, Fuze Themes and Apps] The Avatar:
Yes I saw that, but changing the message in the registry is not very user friendly.

As for not adding new features that is perfectly understandable. A morse code writer would only be a fun gadget that is quite doubtful someone will actually need.
[Touch Pro, Fuze Themes and Apps] Luggruff:
do you think you could make an app that convert text to morsecode blinks? a kind of 'write a message and blink it'... ?

that would be awesome!
[Touch Pro, Fuze Themes and Apps] NetRipper:
It would be awesome if you could just read back the last 5 posts...
[Touch Pro, Fuze Themes and Apps] Luggruff:
it would be awesome if it got through that i didn't ask about the posibility of morse and that i asked about the feature to be simple.. like I'm gonna do a change in the registry following a tutorial about morse in times of emergency. you must be trippin...!
[Touch Pro, Fuze Themes and Apps] NetRipper:
Sorry to be rude like that, but you would've read in the last posts that I'm not actively adding features at the moment. Hence my remark.
[Touch Pro, Fuze Themes and Apps] Luggruff:
well, I figured that if not you, someone is bound to pick it up (:
[Touch Pro, Fuze Themes and Apps] NetRipper:
Well, it is open source, so someone could.
[Touch Pro, Fuze Themes and Apps] NLS:
well there is not even need to touch NetRipper's code at all (for this function)

just write a simple program that changes the registry entry to the text you want and then starts torchbutton
[Touch Pro, Fuze Themes and Apps] l3v5y:
I've unstuck this thread, since development has moved to the new thread in the Leo fora.
[Touch Pro, Fuze Themes and Apps] vantroy:
thanx v.much .... works great with me :)
[Touch Pro, Fuze Themes and Apps] mellojeff:
I usually have that same issue except when my girlfriends husband comes home, then I can do it in about 10-12 seconds if I don't put my shoes on.
[Touch Pro, Fuze Themes and Apps] rmelco1:
B7620 samsung

doest work for my phone .
[Touch Pro, Fuze Themes and Apps] Luggruff:
is it supposed to?

thread located in: xda-developers > HTC Raphael: Touch Pro, Fuze > Touch Pro, Fuze Themes and Apps
[Touch Pro, Fuze Themes and Apps] Grey Area:
No hope of an HTC HD2 version?

I get an error; "Error loading HCTCamera1.dll" when I use any of the mode buttons...a real pity as I really want a torch app - and not a rubbish one that just turns my screen white - if I wanted that I could just take a photo of a piece of white paper and display that...
[Touch Pro, Fuze Themes and Apps] Luggruff:
There you go. Search the hd2 forum. I've used this app with my HD2 since february-march and never had an issue.
[Touch Pro, Fuze Themes and Apps] Grey Area:
Yes, just followed the link - version I downloaded SAID it was 2.3, but obviously wasn't...stupid freewarepocketpc.net!
[Touch Pro, Fuze Themes and Apps] Luggruff:
http://xdaforums.com/showthread.php?t=581382

I don't know where you went.. because this thread that a direct link att the .cab.
[Touch Pro, Fuze Themes and Apps] mkose38:
thank you it s ok
[Touch Pro, Fuze Themes and Apps] mokos:
:D:D:D:D:D
[Touch Pro, Fuze Themes and Apps] hulkman:
the TorchButtonLib_csharp_v1.0.zip library is not working with HTC LEO correct? Is there a new version of the lib?
[Touch Pro, Fuze Themes and Apps] hulkman:
anyone ???
[Touch Pro, Fuze Themes and Apps] NetRipper:
Source code is here: https://github.com/netripper/TorchButton

It's in C++ but if you're familiar with marshalling in C# you should be able to make a .net version.
[Touch Pro, Fuze Themes and Apps] da_jojo:
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.
[Touch Pro, Fuze Themes and Apps] 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 ;)
[Touch Pro, Fuze Themes and Apps] sysrq12:
well... I don't have LG KS20...
[Touch Pro, Fuze Themes and Apps] da_jojo:
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 :)
[Touch Pro, Fuze Themes and Apps] nolovelust:
add me too
[Touch Pro, Fuze Themes and Apps] Black93300ZX:
Awesome, works great. Thanks!
[Touch Pro, Fuze Themes and Apps] Mitch92uK:
n1 netripper :)
[Touch Pro, Fuze Themes and Apps] 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! :)
[Touch Pro, Fuze Themes and Apps] TomasNM:
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.
[Touch Pro, Fuze Themes and Apps] da_jojo:
got me just as excited as the moment i got this phone brought to my door...

this tell you enough ? :)
[Touch Pro, Fuze Themes and Apps] TomasNM:
Hey guys.I've got an idea:

You are able to control the LED so now are you able to add some mode selector(combobox,radiobutton) and use these modes?:

- Torch - toggles light on/off for a adjusted time as now it is

- Flashing light for walking on dark road,so the car driver can see us - pulses 1:10rate 10Hz(as on bicycle)

- Push to light - one can send morse code for example,lights momentary

- SOS signalization(I hope we will have never need to use,but one never knows)

Also the interface can stay quite similar(the big thumb button I like) and can be black as default and there's no need to change interface colors automatically(change it using right softkey),because the application will be used mostly in the dark.
[Touch Pro, Fuze Themes and Apps] miland:
G-sensor

turn the device upside down - change something -

shake the device - flash off/on

side (volume) arrows/rounding with finger on the touch sensor (like if you want to make page bigger in the Opera) - change intensity, or changing the timeout

big button on the screen - on/off

small slider - timeout

integrate this function to the menu which is open after you long press right key - that would be great
[Touch Pro, Fuze Themes and Apps] NetRipper:
I see some nice possibilities indeed, both with alternative use of the flashlight and using the g-sensor and also the touch sensor. I will keep TorchButton pretty simple. I probably won't change it anymore. However I do like some of the suggested features I hear around here. For now I don't have to skill to do it in c++ (would become a .net app) and for that I'm currently busy with some other prototypes.

Perhaps in the future, if no other developers have made it yet, I'll attempt to make a flashlight app with a lot more features.

Regarding this, I was actually planning on making a program that allows you to launch applications by using the g-sensor. This way you can start user-defined programs by:

- shaking device left & right

- shaking device up & down

- turning device over once or twice

- the above optionally in or out of standby (to prevent it from firing when you simply walk with the phone in your trousers)

It's still in "idea" phase. Still got lots of other things to play with first.
[Touch Pro, Fuze Themes and Apps] billu:
I have tried it on my touch pro but when I run the program, it says i need a later version of the net compact framework. Should that be the case?
[Touch Pro, Fuze Themes and Apps] bodaandy:
THANKS!!! Exactly what i was looking for!!

BR// Andy.
[Touch Pro, Fuze Themes and Apps] NLS:
Any chance v1.2 will be a simple "on/off" on screen button?

In fact even simpler: Turn light on when program executes (like if you assign it to a physical button) and just have a large "QUIT" button when the user wants to turn it off.

I think it is even simpler than even the current version.

A simple VB form (make it black so to not obstruct night vision) and a dark gray button.

No registry edits or anything (who knows exactly how much time will need the light? Or who wants to go and re-execute if the light goes off at the critical second?).

Any hope for this?
[Touch Pro, Fuze Themes and Apps] fhsieh:
One thing I did with my Sony Ericsson W43S (Japanese phone) was remap one of the buttons to turn on the LED flash on long-press. Or more directly: long-press the button and the LED flash turns on, and stays on while you hold the button; release the button and the LED turns off.

Quite useful, late at night for instance, since it's very easy to locate hardware buttons by feel alone, and it saves you from blinding yourself with the LCD backlight (which you would have to do to find and load an app).

Of course that probably steps a little beyond this project, since I could use a config tool to remap buttons to load/reload the TouchButton app. Though if I had the AT&T Fuze with its PTT button, I would remap that button to do just that.
[Touch Pro, Fuze Themes and Apps] Amator72:
Fantastic app!!! Many thanks Sir!!!
[Touch Pro, Fuze Themes and Apps] Omareo:
Great App....... been looking for a loooong time
[Touch Pro, Fuze Themes and Apps] NLS:
how long?

touch pro is less than two months in the market
[Touch Pro, Fuze Themes and Apps] Omareo:
well..... a month is a long time for me :)
[Touch Pro, Fuze Themes and Apps] NLS:
are you a dog or something?

something terminal?

(ok bad humor sorry)
[Touch Pro, Fuze Themes and Apps] Dr4g0n:
i have another great idea,

first sry for my english ^^ and @ this moment i wait for my raphael ^^ i hope that the post man bring it on monday to me.

so the raphael have a light sensor, can you right the programm so, that he have a option, to use the light sensor?

e.g. is the progamm running, and the light sensor say "the light is off" so the programm starts the LED instandly.
[Touch Pro, Fuze Themes and Apps] ajvdn:
Hi,

I made a little video when I first got the torchbutton.

http://nl.youtube.com/watch?v=dZ73kaquCf0

I use voice commander to turn on the torchbutton with a shortcut called light in the program files. You can also use speed dialer. I noticed that when the lighted is turned on and you activate the program again the light will be switched off.

Regards,

AJ
[Touch Pro, Fuze Themes and Apps] TheBundo:
What do you write this sort of app with? mortscript?
[Touch Pro, Fuze Themes and Apps] NetRipper:
TorchButton 1.1 was written with VS2008 in C language. If I'd ever make an app like I described I was planning, it'd be in C#. Also when I'll make torchbutton v2 (with gui) it'll be in C#.
[Touch Pro, Fuze Themes and Apps] prayag:
beauty mate, thanks
[Touch Pro, Fuze Themes and Apps] vwvwvv:
well done mate, thanks a lot! :)
[Touch Pro, Fuze Themes and Apps] alekukoc:
Hi!

TorchButton is great, but I have a question:

If you go to the Camara mode, and turn the flash on, the power of this LED is the same that you get with TorchButton. But by the moment you take the picture, the LED increases its luminosity momentaneously, reaching higher density than TorchButton gets when actived.

So my question is simple: Is there any way to get that kind of luminosity all the time with TorchButton? Because the luminosity levels are quite different...

Anyway, thanks a lot for this great application!
[Touch Pro, Fuze Themes and Apps] NetRipper:
Glad you like it. :-)

The question you ask has been answered before:

http://xdaforums.com/showpost.php?p=2589178&postcount=11

I believe it is for a reason that the 'extra bright' mode is secured to be disabled after 1 second.
[Touch Pro, Fuze Themes and Apps] alekukoc:
Ok, so you haven't included this extra bright mode in TorchButton because it could cause bad effects on LED, right?

Thanks a lot!
[Touch Pro, Fuze Themes and Apps] NetRipper:
Yes. And it'd also need a work-around which would probably make the led flicker anyway.
[Touch Pro, Fuze Themes and Apps] stroths:
I tried the apps I used on my Mogul, which would turn it on but not off (not good).

I appreciate you making this as it works great on my Sprint Touch Pro.
[Touch Pro, Fuze Themes and Apps] DeepThought:
Thanks & a wish for v1.2

Thank you NetRipper for this great little app, it became one of my most used ones already!

I would have a small improvement wish though: Would it be possible to keep the LED on, when the device is turned off? As I said I use TouchButton very much and also every night, when I go to bed. But sometimes I accidentally start some program while stumbling to bed. ;) Therefore it would be great if I could turn off raphael while using TouchButton so I don't have to be careful if I touch the screen or not.

Thanks in advance,

DeepThought
[Touch Pro, Fuze Themes and Apps] NetRipper:
Sorry, it is not possible to keep LED on when device goes into standby. The standby code of wince disables the LED after a second or so when it is enabled.

Note that when you enable the flashlight, it's no problem if you start other programs. The light still stay on until the timeout expires or TorchButton is started again.

So, lay off the booze to prevent stumbling ;)
[Touch Pro, Fuze Themes and Apps] DeepThought:
LOL :D

Ok, I'll try that! ;)

Thanks anyway,

DeepThought ;)
[Touch Pro, Fuze Themes and Apps] NLS:
it is a problem if you never intended to start those programs :D

you don't have to put the device to standby, just shut off the screen

after all it will make the light more useable (it's no good if the light lights on one side and the bright screen on the other)

many programs shut the screen, why not torchbutton?

also would love torchbutton after start, to light the led as long as someone keeps the middle button pressed (or make it a toggle)
[Touch Pro, Fuze Themes and Apps] Lonesnark:
This is not true. The old program I used on my mogul will turn the LED on, but not off, and it stays on even if the device is put into standby. So far the only three ways to turn off the LED once it is turned on by my old program is:

1) soft reset the device

2) run TorchButton v1.1

3) run Camera

As such, it would be excellent if we could run the LED without wasting power on the rest of the device. From this evidence it is already possible. What I have is two menu items, one for on which is bound to my old flashlight.exe, and one for off/limited-on bound to TorchButton v1.1
[Touch Pro, Fuze Themes and Apps] FoxRacR17:
So I assumes this would also work on the sprint CDMA version of the PRO correct?
[Touch Pro, Fuze Themes and Apps] Lonesnark:
That is what I am using it on; so, yes.
[Touch Pro, Fuze Themes and Apps] FoxRacR17:
Thanks for the quick reply man! :)
[Touch Pro, Fuze Themes and Apps] gasosas@gmail.com:
Thnx a lot, mate. great app. simple and usefull. =)
[Touch Pro, Fuze Themes and Apps] DeepThought:
Nice! Could you please upload your old flashlight.exe? Or PMail it to me? That would be great!
[Touch Pro, Fuze Themes and Apps] NetRipper:
I guess the Mogul handles it differently from the Raphael/Diamond then. I have also tried it on a very low-level method (not using the htccamera1.dll, which TorchButton uses). I switched on the GPIO for the flashlight in HaRET. When the devices goes into standby, it resets the GPIO so that the flashlight is turned off. Probably as a measure of protection.

Someone else mentioned the display can be turned off, and as far as I know, that's possible. The LCD can be turned off without putting the device into standby. At what point should the screen be turned on again? The use of any hardware button? The 'standby' button is not an option, as it'll actually put the device into standby.

I was thinking of remaking the app in C# (though I haven't had the time...), with a dark user interface to prevent it from blinding yourself. I'm using a dark windows mobile theme, so it's already not bothering me that much. TorchButton 1.1 has no user interface at all (which was also intentionally).
[Touch Pro, Fuze Themes and Apps] DeepThought:
I think turning off the LCD would be the solution. Do you know the app "GPS Cycle Computer"? It's a program for gps tracking but the point is: it has a small user interface where you can turn of the LCD. And the best is: if you want to turn the LCD back on you just have to use the power-button.

Now I have downloaded the source of both programs and I will try to make a new program out of it (thanks to NetRipper!). I have to get the permission from AndyZap if I'm successful for using a part from his code as well. Anyway I let you know about my progress.
[Touch Pro, Fuze Themes and Apps] Lonesnark:
It is not my program but it was distributed for free for use on the Mogul. That it seems to work a miracle (keeping the light on while the TP is in standby) on the Touch Pro is inexplicable right now.

To assist anyone trying to figure it out:

The behavior on the Mogul is as you would expect. Run it once to turn on the light, run it again to turn it off. The light will also go out when the device enters standby.

The behavior on the Sprint Touch Pro is dissimilar. Run it once and the light comes on and stays on no matter what you do. The light will only go out by running TorchButton v1.1, running Camera, or soft resetting the device.
[Touch Pro, Fuze Themes and Apps] DeepThought:
Thank you for sharing!

But now it's getting really interesting: When I use the flashlight.exe it handles exactly as TorchButton. Executing it once starts, the led. Executing it twice stops the led again. AND: The led is disabled after about two seconds in stanby. Exactly as TorchButton. Hell knows why.
[Touch Pro, Fuze Themes and Apps] DeepThought:
User Interface for TorchButton

I'm currently working on an interface for TorchButton. It's my first Windows Mobile application so it's extremely rubbish but it seems to work. It's just a black interface with two buttons. One for activating/deactivating the flash and the second for quitting the app.

Although NetRipper provided me with the original sourcecode I was to experienced to modify it. So I created a small program which calls TorchButton. Like I said - extremely rubbish! ;)

I'm going to test it a bit further but if everything works fine I will certainly share it if anyone is interested.
[Touch Pro, Fuze Themes and Apps] WDawn:
Just to keep you going: i'm interested :)
[Touch Pro, Fuze Themes and Apps] Fat Boy:
Thanks for this app. but it would be much more usefull with longer run time or just the ability to turn on or off. LEDs have very long life cycles and realistically it would be near impossible to burn the LED out. Here is a site with info on LEDs if some are concerned. http://www.candlepowerforums.com/vb/forumdisplay.php?f=45

It would also be practical if it did work while the display is off. The best imo would be to turn on the LED and turnoff the display with just one icon touch and turn off the LED when the display is touched again. This would render it almost impossible to leave the LED on by accident because the screen gets touched all the time. Thanks again for the work that has been done.
[Touch Pro, Fuze Themes and Apps] DeepThought:
Alright, I think I have it ready for a first shot. But I will not publish the Program in this thread. NetRipper has asked me to rename the program if I do some alterations to prevent confusion. So I will start a new thread and provide a link as soon as it's online.

@NetRipper: Thanks again for your great little tool and for giving me the opportunity to extend it a little!

Update: Here you can find hTorch
[Touch Pro, Fuze Themes and Apps] nico4k:
works on sprint raphael

nice app..will give it a try too...
[Touch Pro, Fuze Themes and Apps] tygger:
Did you guys have to install the new MS .Net Compact Framework?
[Touch Pro, Fuze Themes and Apps] NetRipper:
For TorchButton v1.1 no compact framework is required.
[Touch Pro, Fuze Themes and Apps] LoTekJunky:
just wanted to say thanks for TorchButton. I like this older one without an interface, very quick and lightweight. Works perfectly on the touch pro.