Are the led notifications on the front facing camera not bright enough for you or something?
Have you guys checked out the market apps called "LED Light" and "LED Desire Light"? Both of those apps get the camera flash to activate as a sort of flashlight. Maybe check out their method of doing it
Yeah, I actually have LED Desire Light and have been trying to figure out how it works. I haven't found any way of decompiling it into readable code though and adb logcat isn't showing anything. I found a function earlier this morning though called setDualLedFlash or something like that. Unfortunately there's no documentation for it so it'll take some experimenting with.
EDIT: Found a way to turn it on! Now just have to figure out how to turn it off ;-)
EDIT 2: And got it to turn off! Well, got to go donate some blood now but if I'm still coherent later this evening I'll be able to put this together.
Alright, here we go. This app will flash your LED when you receive a phone call or when you get a new text message. Unfortunately it can't do it when you get new emails since there is no standard system notification for email among the many email apps (Email, Gmail, K9, etc.).
Here's a screenshot of the app, Flashlight Alerts:
The APK is attached and it is also available in the Market for $2.99 if you'd like to donate:
It was actually a real pain to put together since there is no standard flashlight API prior to Froyo, but I'm happy with the way it turned out. Let me know if you run into any issues!
PS: I would appreciate it if somebody could check if this thing is actually in the Market on their EVO. It's showing up there on my Nexus One but not on my EVO. Hmm...Fixed this. Stupid bug in the Market makes it so that if you mark your app as requiring a camera with flash, it doesn't show up for EVO.
I would think this would be a bad idea for the same reason all those *led* flash light apps warn you not to over use for fear of burning out...If you get a much of notifications that would mean constant use.