LedEffects

LedEffects is an Android service designed to manage notifications:

  • Led Effects for different events
  • Notifications
  • Vibration
  • Sound
  • LedEffect has a night scheme to turn off viration and sound in certain timespans

Originally it was specifically designed for XDAndroid or any other Android distro running on linux-msm.

It now has been extended to handle more phones (e.g. my unrooted HTC Desire).

Supported effects are:

  • incoming call
  • SMS
  • Mail (K9Mail is supported)
  • charging
  • IM (XtreMePP is supported)

Downloads

The sources are now available at Github LedEffects is also available at SlideME and AndAppStore

Changelog

  • 2010-04-05 v0.6.1.1: fixed a bug preventing the sleep effect to be applied properly after changing it in preferences
  • 2010-04-07 v0.7.0.0: added sound and vibration option for each effect and mute setting for specific timespans
  • 2010-06-27 v0.9.0.0: added support for multiple devices (Desire)
  • 2010-06-28 v0.9.0.1: bugfixes: the sound checkbox is taken into account properly, the player is terminated properly (timed or when e.g. a call is responded)

Recommendations

LedEffects rely on the concept of Broadcasts to receive events from the system or from other apps. For that to work apps must have been designed for that.

  • email: the default email client (gmail and email) are poorly designed and do not care about the surrounding world. On the other hand devs of K9-Mail have added broadcasts to their architecture and LedEffects of course support those.
  • IM: neither the gtalk client nor any other IM client I know of (fring, ebuddy, nimbuzz) care broadcasting. That's one of the reasons why I develop XtreMePP, an open XMPP client.

Discussion

Me, 2010/04/26 17:01
This does not work for the TP2 release... any idea why?
sven, 2010/04/27 20:01
Well, this is related to the fact that the current version is using specific kernel files for raph/diam. I'm working on a new release supporting android's generic leds, the topa leds from phh's kernel as well as the RGB led from rooted Nexus one so stay tuned.
ADPoliak, 2010/06/07 08:43
I believe I have found a bug (present in source code currently available).
com.asksven.ledeffects.manager.EffectsFassade:
Lines 93 and 163
The code checks to see if there is a stored sound path, but does not check whether the sound is enabled or not (the checkbox to the left of the sound picker in the preferences UI.
Additionally, setting the sound to "Silent" does not have the intended result (the sound will remain the previously chosen sound.

Another bug, source unknown: when playing the notification sound for an event e.g. Ring, the sound does not stop once the phone is picked up.
sven, 2010/06/28 20:01
Hey ADPoliak,

ty for the feedback. I've fixed the unchecked sound problem (v0.9.0.1). That same hotfix release fixes the inconsisitency with the ringing sound upon pickup (hopefully).
As per the "silent" sound I have to have a closer look as it seems it's not returned properly by the intent for selecting a sound.
Mike, 2010/08/27 17:53
Hi Sven,

Thanks for LedEffects. Exactly what I was looking for to run on my unrooted HTC Desire. I modified your source slightly (thanks for being so kind and publishing the source btw), changed the preferences to use Android Preferences Screens and added notification reset hooks (configurable timed and on screen unlocks) which better fitted my needs. If you're interested, I'd be happy to share the modifications.

Any plans to publish this in the market or provide the source in a repository such as Google code? My guess would be a lot of people would thankfully use your app. A lot of users have been complaining about the fact that LED notifications get reset after 5 minutes.
sven, 2011/07/04 16:28
Hi Mike,
after a while of being inactive because of a very high workload I will return working on LedEffects. If you are still interested in contributing pls contact me.
This offer is of course not restricted to Mike ;)
Nick, 2010/08/28 23:53
Following on from what Mike said, I'm also looking for a way to keep led notifications going for > 5 min (preferably until answered) on my unrooted desire. Please let me know if you're thinking of updating ledeffects in this way. Thanks!
Mike, 2010/08/30 10:03
Hi Nick,

I implemented this exactly. You can make notifications stay for a configurable amount of time (set mine to 2h and did not notice any effect on battery life). Optionally, led notifications are reset when screen is unlocked. Works flawlessly.

@Sven: Any interest in the modified source? As an alternative and only if you would provide your O.K., I could offer to publish the source on google code and/or the app in the market. Keeping credits to you and the app for free of course.
perern, 2010/09/04 22:42
project stopped?

i want led on my Topaz
Eyrie, 2010/10/14 12:51
Hi, your app works great. Strange that there isnt an option for missed call alert, and that fact that the led switches off after a set number of seconds. Did you program it to turn itself off?
Eyrie, 2010/10/14 12:56
Would it be too bad if I asked Mike for the modified apk? Would like the LED to remain on for longer than a few seconds..
Mathijs, 2010/10/15 22:13
Hi,

It wasn't working on my rooted HTC Desire with DeFroST rom. I added a new file HtcDesireRooted to the phones directory.

For the people who are interested in the source code, I've shared it at pastebin.

http://pastebin.com/Cyxmqr65
Gkhn, 2010/11/15 14:45
It doesn't work on my Touch Pro with XDAndroid 2.2
I only get to see the startup screen (first image above).
Android still responses however..
Jordan Thompson, 2010/11/24 06:13
touch pro2 in Android v2.2 Froyo (FRX03) released as of 11/22 or thereabouts

Testing buttons seem to work, but actually changing the LED's when an event occurs does not :-(
LostOne, 2011/02/03 22:11
There's a little mistake.
When I repeat clicking on "Stop Service" it says "Service already started" although I chose "Stop"
LostOne, 2011/02/03 22:48
Hello!
Another thing I've noticed:
When LedEffects is installed the option "Turn over to silence ring" doesn't work.

Thanks & best regards
Keisha, 2011/10/18 23:14
If I communciated I could thank you enough for this, I'd be lying.
Enter your comment
 
  • Bookmark at
  • Bookmark "LedEffects" at del.icio.us
  • Bookmark "LedEffects" at Digg
  • Bookmark "LedEffects" at blogmarks
  • Bookmark "LedEffects" at Google
  • Bookmark "LedEffects" at Rojo
  • Bookmark "LedEffects" at Simpy
  • Bookmark "LedEffects" at Spurl
  • Bookmark "LedEffects" at StumbleUpon
  • Bookmark "LedEffects" at Tailrank
  • Bookmark "LedEffects" at Technorati
  • Bookmark "LedEffects" at Live Bookmarks
  • Bookmark "LedEffects" at Memori
  • Bookmark "LedEffects" at Favorites
  • Bookmark "LedEffects" at Facebook
  • Bookmark "LedEffects" at Twitter
  • Bookmark "LedEffects" at Mister Wong
computing/android/ledeffects.txt · Last modified: 2011/07/04 16:23 by sven
Recent changes RSS feed