[Application] FlashApp : use your LED Camera as a flashlight - Desire Themes and Apps

Hi HTC Desire users.
I develop a little and basic application that allows you to use your HTC Desire as a flashlight, using your LED Camera. This application is call "FlashApp" and is available on the Android Market (http://www.androlib.com/android.application.com-damunix-android-flashapp-CDiD.aspx)
There is 2 mode :
- "flash": for a short time, but full power light.
- "on" : for a longer timer, but less power light.
It only works on the HTC Desire for the moment. I made some tests on the Nexus One, and My application will note work without rooting it.
If you have any questions, suggestions, idea, post it on this thread.
Note : this is the official thread of the app, the old one was : http://forum.xda-developers.com/showthread.php?t=667474

hey, thanks for the app! great use for it! It made it to the center of homescreens.
Can you make a on/off flash mode? So that it will last while on and will stop on closing/or pressing of?
Thanks

Great work, thanks. can you create a nice icon for it?

blackfox888 said:
Great work, thanks. can you create a nice icon for it?
Click to expand...
Click to collapse
A new icon will be put in the next update

@ Damunix
Great app - I was following the other thread http://forum.xda-developers.com/showthread.php?p=6374683#post6374683 and did a write up which should be on the front page later today... fyi it links to the original thread.

Thanks , but please add icon .

Great job Damunix!
At least someone gets it. Saves people having to read every thread which asked for such an app unsuccessfully as well as some rather vapid, churlish and irascible troll posts.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk

Good work fella. Thanks

Great work mate, I'm glad you got it up as an official app. I don't actually have a Desire yet but it should be arriving on Wednesday and this was the only missing feature that I felt a bit let down about. Now it's there and I can't wait to receive my Desire and download it. Thanks for your work.

Very useful app for getting my gas & electric meter readings! TYVM

Awesome! thanks

I cooked your app posted in the previous thread into my rom and changed the icon. Maybe you like it, looks good on a Amoled screen, its attached
Did you change something with your app when you started this thread?
Regards!

Excellent app! It's only a little thing, but makes life so much easier when trying to find the right key!

Just a little update,
new : Application icon, thanks to Pr0sper
this is because a lot of people ask for an icon as soon as possible

wonderful!!!!!!!!!!!!!!! works on my Desire ( Orange UK ) fab!!.. Infact I'm still seeing the light every time I close my eyes!!!!!!!!!.... Note: don't look direct at the light .. well done!"

I don't understand why, but in the last version it seems that there is a sign problem of the application.
Sorry about it, you need to uninstall and re-install it

works great! thnx!

I installed on my T Mob Desire - app works almost.
Light stays on - flash only flashes briefly. Can't get full brightness permanently on.
Is this the idea?

Yup, you can only have the full brightness (flash) on for a short time. There are some worries that leaving it on full brightness permanently could damage the LED.
I think the normal, lower brightness setting to be adequate in most situations.

@subharmonic
This thread might also help:
http://forum.xda-developers.com/showthread.php?t=667474

Related

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.
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).
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?
Click to expand...
Click to collapse
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
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!
This function is built into the Quick Settings app you can get for free in the market isn't it?
bakedecake said:
This function is built into the Quick Settings app you can get for free in the market isn't it?
Click to expand...
Click to collapse
Its currently not supported. Just tried it.
Yeah, that option just enables a bright white screen for now.
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
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
Damunix said:
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
Click to expand...
Click to collapse
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.
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
Great news!
I think, that an application would be enough, since it isn't an often used feature (But VERY usefull when needed )
Looking forward to this!
File in attachment, this is just a "trash code" program, just for you to let me know if this is what you where looking for!
Feedback are welcome
Thanks for the work guys much appreciated.
App works fine
Don't want to sound picky and that, but basically what i was after was the flashlight to use as a light, so just a on / off would be fine! if could make the on as bright as the flash ?
Just wondering, im guessing a lot of this is done in shell script and c?
Just learning C at the moment , doing a forensic computer degree at uni.
Yay! It works On isnt as bright. Would prefer an on/off toggle only. Either a full screen button or starting the actual app will toggle it.
NICE !!! work fine. but ON is not as bright as Flash is ... do something with it, please...
really good, thank you for your work
Yeah cool, it is working great.
The light isn't that bright but it is a good start.
You just need to make it look nicer, add a widget and it is ready for the Market.
Also, I think there is a conflict with the Camera, I tried to take a clip with the light ON but it switched OFF as soon as I opened the camera app.
Possibly the most useful app out there... if only on was full power!!
Nice one though!!
Thx man.. App to use everyday/night ;P.. Do you think it can be little stronger without not burn the led?
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk

A Great Idea!!!

Im pretty sure we all agree that the EVO has sub-par notifications. It doesn't have alternative colors for the LED and when plugged in you get absolutely no notification, unless you use that app that I forgot the name of...
But anyways I was wondering if it would be possible to use the capacitive buttons as a Notification source.
Maybe we could have the home button blink for sms
the menu for calls, return for emails, etc. I don't know much about software development and all that crud, but I was just reading this idea on another phones forum and I figured it would be something extremely worthwhile for evo users, and in all honesty, its a pretty dam brilliant idea if we could just get it to work.
don't bash me if its not even possible. I was just simply trying to help my fellow EVO users by sharing a creative thought.
in the theme and app section there is apk that does this already well it flashes all of them for notifications
jrdejavux said:
in the theme and app section there is apk that does this already well it flashes all of them for notifications
Click to expand...
Click to collapse
i tried looking for it and i dont see one. there is however a thread requesting a port of the moment for one...maybe im blind??? i could very well be...
i also just went through 6 pages..
anyone got the name/link?
thanks..
i coulda pulled the whole... WFFF deal.. but..
i want this too? hah
Thanks people
-
jr - awesome thanks. in my defense, i didnt do a search.. i just felt id take a stroll through that section and didnt find it, cheers
found it in 2 seconds
http://forum.xda-developers.com/showthread.php?t=697430&highlight=notification+light
look at post number 8 for the apk
That app was for the Samsung Moment, it doesnt work on the EVO.....
You know this idea isn't half bad and it may be possible through a combination of the kernel and an application. For reference there is a hack someone made for the G1 that allows you to use the leds under the buttons for notification of the sd card. Here's the link:
http://forum.xda-developers.com/showthread.php?t=685947
That said, maybe we could use this idea to help us with this hack.
i would be more than happy to donate if someone could get this working. missing this feature from my pre
danon.brown said:
i would be more than happy to donate if someone could get this working. missing this feature from my pre
Click to expand...
Click to collapse
Would be awesome.
How are blinking buttons better than a blinking LED?
I think more convenient than flashing the capacitive buttons (which would probably use more battery too) is just flashing the LED for more than 5 minutes (indefinitely), and also flashing the LED even during charging, as I mentioned in this thread forum.xda-developers.com/showthread.php?t=712803.
r546 said:
I think more convenient than flashing the capacitive buttons (which would probably use more battery too) is just flashing the LED for more than 5 minutes (indefinitely), and also flashing the LED even during charging, as I mentioned in this thread forum.xda-developers.com/showthread.php?t=712803.
Click to expand...
Click to collapse
the buttons wouldn't have to flash continuously. It could be just for a few seconds and we can set up reminders like every 5 or 10 mins, that way hardly any battery life is consumed..

complete noob !!

hi, firstly may i say im sorry for asking these questions as to you guys they will sound so stupid !!! after giving up my trusty se k800i after many years & pressure of the grandkids to move with the times i now have a htc wildfire ( didnt even know who htc were untill now !) although i seem to be getting to grips with it ( well kinda lol ) i am quite dissapointed that there wasnt a better instruction manual in the pack, i only got a quick start guide, so these are the things i would like to know
text message- how do i forward a recieved message? i cant find the option anywhere ?
is there a option to get up all the text boxes? ie: sent box, recieved,drefts etc..
locked- is there any other way to wake the phone up apart from the on/off button at the top? i have problems with this now as i bought a gel cover & its makes it harder to use with 1 hand !
glowing buttons- is there anyway to have the 4 buttons (home,menu etc ) on the bottom glow when the phone is in use? these are impossible to see in low light & i am sick of hitting the wrong 1 !!
apps- is there a app for viewing tv on the wildfire? bbc i player , catch up tv etc, i looked on the net & skyfire seems to be the app but when i search the market its not there ?
anyway , that will do for now lol, im sure i will be back with more stupid questions soon lol, i quite like the feel of this phone although i was very dissapointed that it will not do video calls as this is a feature i used quite a lot on my old phone as i work away & chatted to the grandkids & they showed me stuff they had made at school etc, its my own fault for not checking i suppose, i just assumed, if old phones can do it surely the cutting edge phones can, i was wrong lol, anyway thanks for letting me drone on !!!
To forward message, long press the received message, and a pop up screen with several options appear. Sent messages auto appear in the conversation list.
Sent from my HTC Wildfire using XDA App
There is no other way to wake up the phone except the on/off button.
The light for the 4 buttons only glow when the sensor detects insufficient light.
Sent from my HTC Wildfire using XDA App
If you look at the front of your phone, you'll see the HTC logo. Right of that logo, you sometimes can see 2 sort of sensors. Place your finger in front of that and the buttons will glow
thanks a lot chaps, now working fine lol
fifarunnerr said:
If you look at the front of your phone, you'll see the HTC logo. Right of that logo, you sometimes can see 2 sort of sensors. Place your finger in front of that and the buttons will glow
Click to expand...
Click to collapse
Hmm, mine are on all of the time that the screen is on. Is there a setting that I've missed?
ven2112 said:
apps- is there a app for viewing tv on the wildfire? bbc i player , catch up tv etc, i looked on the net & skyfire seems to be the app but when i search the market its not there
Click to expand...
Click to collapse
Download the Appbrain market from the android market then go to www.appbrain.com
You can log in using your gmail account and install their fast internet installer.
You can now install apps to your phone from your PC's web browser. Skyfire is in the list

Notification LED

I'm noticing that the LED flashes only some of the time for things like Twitter and SMS. The notification bar has the update on it but the LED seems to not want to play ball.
Has anyone else experienced this or similar? I know the LED works because it shows when charging and when the battery was low it flashed. Specifically I use Touiteur and had the LED set to blue but even on the standard green it's hit and miss.
Sent from my Desire HD using XDA App
Mine doesn't flash when I get email, but seems to work for SMS or missed calls.
I was hoping someone would make a thread about this, I never got around to making one!
Mine flashes for everything which is annoying!!! I get a lot of emails so is constantly flashing! I've tried going into Settings -> Display -> Notifications and deselecting everything except Missed Calls and SMS/MMS but made no difference!
i'm so used to Magic 8 colors... shame DHD has only orange and green
also it somehow tends to turn it off after a while being on.
I've sent an email to HTC to ask about it since it's a big issue to me. Notification sounds feel similarly hit and miss so I'm suspecting some trigger is being missed, possibly due to the new Sense UI. I'll post any reply I get.
Sent from my Desire HD using XDA App
I've got two led's. One for the battery on the right of the speaker and one on the left behind the speaker. The left one is for notifications only n I must say I'm disappointed as its located being the speakers its not as visible as I would like it to be. Is there anyway to get the battery led to function as a notification led as its not covered so much more visible?
I've got a reply but nothing helpful. So far it seems they're willing to blame app compatibility. I've asked for information regarding any changes that have been made to the LED notification system on the Desire HD and now I wait for another reply.
I told them I had no such issues on two other Android phones and they seem to be implying that the apps are coded for specific phones when we all know apps are coded for an SDK version. To quote the part of the reply...
"All the functions/programs you mean are made for Nexus and G1/Dream most of the times, Desire and some other are similar enough for it to work. Cannot help you with third party software."
Pretty clear the guy doesn't have a clue about this so I'm hoping if I nag long enough he'll pass me on to someone with more knowledge.
Sent from my Desire HD using XDA App
lefty83 said:
I've got two led's. One for the battery on the right of the speaker and one on the left behind the speaker. The left one is for notifications only n I must say I'm disappointed as its located being the speakers its not as visible as I would like it to be. Is there anyway to get the battery led to function as a notification led as its not covered so much more visible?
Click to expand...
Click to collapse
I see two LEDs up top but charging uses the same LED as the notification system. The left one behind the grill. I haven't seen the second one light so it's probably the proximity sensor.
Sent from my Desire HD using XDA App
i only see one led too (with two colors).
Dyonas tel HTC that even GMail (2.2 app) acts like that... and gmail.apk 2.2 aint made for g1!
Another really pointless reply from them.. in the initial contact I mentioned the camera being misaligned so that's what the first part is referring to. Here's the latest reply and below it is how I have just responded.
Dear <me>,
Since receiving your e-mail i have looked for any more known cases and was unsuccessful if you are concerned that this may cause issues i recommend that you take the device back to the retailer.
Regarding the LED,
We do not give developer support so i cannot help you with this.
To send a reply to this message or let me know I have successfully answered your question log in to our ContactUs site using your email address and your ticket number <not important>.
Sincerely,
Adrian
Click to expand...
Click to collapse
Response to it from me..
Hi,
With regards to the LED notifications, I'm not asking for developer support or any support in fact. I'm simply trying to find out if HTC have changed the method for using them with the Desire HD. You said that programs are coded for specific phones and I'm sorry but that's not true. They are made for SDK versions, most going as far back as Android 1.6 for widest compatibility, so any changes in the programs affecting the LED notifications would show in ALL versions, not just the version shipping with the Desire HD.
This again points to either HTC changing something with the Desire HD or a programming bug with the Sense UI in some way. I realise this isn't an easy issue to look into but it is a very important one and while I appreciate you're trying your best, I will not let this issue drop until I get a more satisfactory answer.
Click to expand...
Click to collapse
To me this is a very big deal because if you leave the phone for a few minutes and aren't close enough to hear an audio notification the LED is what I rely on. Missing notifications like this I might expect from a custom ROM but I haven't touched the phone in any way like that. I didn't see your reply in time to mention the GMail issue and I only have my experience to go on which is Twitter updates not always firing. You should raise a ticked too, the more we get raising the issue the better the chance they'll look into it.
i stop sending tickets to HTC last year... they never fix anything.
I rather find a perm root and put CM onto it!
Their latest and seemingly final reply seems to have something that may point to an answer. Unfortunately I lack the knowledge to check if it is of any use. The guy suggested any changes would be in the Kernel and linked me to the source code area. Is anyone able to look into the source code and see if there are changes to the notification LED system for the DHD? It's pointless not useful to ask app developers to look into it until we have something concrete to point at as a cause.
Dyonas said:
Their latest and seemingly final reply seems to have something that may point to an answer. Unfortunately I lack the knowledge to check if it is of any use. The guy suggested any changes would be in the Kernel and linked me to the source code area. Is anyone able to look into the source code and see if there are changes to the notification LED system for the DHD? It's pointless not useful to ask app developers to look into it until we have something concrete to point at as a cause.
Click to expand...
Click to collapse
can you leave the code sample, please?
thanks
The source code? It's available on http://developer.htc.com to download.
Sent from my Desire HD using XDA App
I asked Cyanogen about this and he thinks the lights driver he wrote for the G2 may work.
Being a basic user I have no idea how to try that out without instructions so... I've done the fact finding, who's going to help with this part?
My email LED notification has not been working properly, sometimes yes but mostly no.
Got email mid morning today, sound and LED worked. Left it in this state for several hours still okay. Just got another sound notification for the same previous email, how does that work
Think this is yet another bug....
I've now had this happen with the GMAIL app so I'm bugging them some more.
Would there be any point in posting in the development section to ask for help using the G2 lights driver from Cyanogen?
Sent from my Desire HD using XDA App
I've also had GMail fail on LED notification and SMS! It seems to be random now. Coming from a WM6.5 defector I quietly smile to myself
I think I figured it out and if im right it's really stupid. I had two notifications earlier, one for Twitter and the other for e-mail (not gmail). The LED wasn't flashing for either. I opened Touiteur to view the updates thete which cleared that notification and straight away the LED began flashing for the e-mail alert.
Why one notification would disable the LED if it's already on I have no idea but the above has happened more than once now. There's an LED test on the phone which HTC had me test. It has other tests too for anyone curious.
Key this into the dialer.
*#*#DIAG#*#*
Sent from my Desire HD using XDA App
Where can i find the test for the LED? Mine doesnt seem to flash for any alerts.

Blinking Hardware Buttons

Hey together,
i know that many people asked similary questions about that topic, but it is not exactly my question. I don't like the small notification LED in my DHD so I wonder if it would be possible to let the hardware buttons blink when I receive a message oder mail for example. Not just lighten up - blinking. The generell answer is that a kernel is needed which supports BTN blinking. Long time ago i got Android Revolution HD from mike on my DHD, but don't remember the version. With the app "L.E.D. me know" it was possible to let them blink, but on current ROM's like IceColdSandwhich or newer versions of Android Revolution HD it isn't. Some one know how to get them to blink again and if it is really necessary to change the kernel, which one do I need?
Greetings
If I understood correctly, look for BLN in icecold. It should be somewhere in settings or rom control.
Sent from a dream.
Hey nemo there is an app called lightflow that does what you are looking for
Sent from my HTC One S using xda app-developers app
@Teichopsia:
Not specifically in icecold.The feature in IceCold only allows to let the hardware buttons lighten up and not let them blink. That's not what im looking for
@ Roundtableprez:
Thanks for the hint, but doesn't work for me.
1) Buttons don't blink, just lighten up and keep solid.
2) Cant turn on display again -> have to reboot phone by removing battery.
Any other ideas?

Categories

Resources