1. Are you ready for the Galaxy S20? Here is everything we know so far!

LEDs for notification progress?

Discussion in 'Android Devices' started by cvam1985, Dec 22, 2009.

  1. cvam1985

    cvam1985 Well-Known Member
    Thread Starter

    I've seen it discussed in a thread somewhere but can't find it....

    Is anyone working on an app to use the menu buttons as an LED notification? The moment for me would be close to perfect if there was some way to have lights for notification.

    If I were a programmer I would be working my buns off to write this app. Alas, I am not... :(

    1. Download the Forums for Android™ app!


  2. CriticalCritic

    CriticalCritic Android Expert

    I'd buy that for a $1:cool:
  3. Radical-J

    Radical-J Well-Known Member

    If you have the latest FaceBook app there are menu settings in there that can be checked for Phone LED and apparently will light up if you have two or more missed text messages. It apparently does not work for missed calls or voicemails
  4. cvam1985

    cvam1985 Well-Known Member
    Thread Starter

    Thanks for the advice - but I'm pretty sure that setting is for phones that actually have LEDs

    What I'm wondering is if someone is working on an app to substitute the Moment's lack of LEDs with the Home, Menu, and Back button lights.
  5. agent0014

    agent0014 Android Enthusiast

    As in light up the home/menu/back buttons for the Moment since it doesn't have a real LED notification? I'm going to have to play with this if that's the case.
  6. cvam1985

    cvam1985 Well-Known Member
    Thread Starter

    I've been playing with it and I'll be damned if I can get it to work. Someone over at Samsungmomentforum claims the same thing

    "The Moment has LED notification....for some reason it is poorly implemented. The 3 softkey buttons are led notification, just like on the Instincts. Mine works but is erratic in behavior. Go into the FB app, settings, and select LED notifications. You'll see."

    Still won't work for me though. Maybe we could write to Handcent and see if the devs could implement it? There's already an option in Handcent to light up the trackball for the HTC Magic...
  7. jen8112

    jen8112 Android Enthusiast

    Well I tried it, I guess I'll see! ;)
  8. gallivant

    gallivant Lurker

    The lights flash when your phone switches networks, i'm not sure if its from evdo to 1xCDMA or from roaming to sprint. In one corner of the basement, i get such weak and poor reception that it switches rather frequently around there. I couldnt figure out why notification was working and NOTHING had come in until i realized what it was flashing for.

    If someone could take that network call to figure out the flash commands for a moment app, there's your starting place. It is perfect for missed call/txt notification...if only it worked for that stuff.

    So yea, whoever knows how to program these things, the flash lights for notification thing is set up for auto-network change.
  9. cvam1985

    cvam1985 Well-Known Member
    Thread Starter

    ^ Yeah mine flashes all the time in the basement when I go in and out of roaming.

    I emailed Handcent's dev and asked if they could try to implement it. At least that would help with SMS notifications...
  10. NOMster

    NOMster Android Enthusiast

    2 things. it works on mine without doing anything, but if your using a third party messenger it shuts it down. even if it 's just sms popup. which i prefer because it gives you the option to set timed alerts for messages missed. just all fyi.
  11. unzip7

    unzip7 Lurker

    If you will notice in good light in the top left of the sprint logo, there are 2 tiny red and green lights in-beded under the screen, but i have never seen mine blink...I wonder it they are not activated to respond for some reason. I have also seen my home, and menu buttons blink but it just seems at random on mine. I tried the facebook settings but still did not get any visuals with the home or menu buttons
  12. cvam1985

    cvam1985 Well-Known Member
    Thread Starter

    Had a strange realization last night.

    Handcent treats the keyboard as the LED for notification. Open the phone, turn the screen off, and watch your keyboard's LED go crazy if you have a txt notification. Heheh.
  13. jen8112

    jen8112 Android Enthusiast

    One of those is the proximity sensor and the other is the auto-dim sensor. I think it's pretty dumb to make a phone without an LED!
  14. NOMster

    NOMster Android Enthusiast

    dumb or not, the three soft keys act as notification just like on the other instincts. remember this was even touted as the "instinct q". so it makes sense that some things work the same even though it's running android. but on mine at least if you have any other notification services turned on, it bypasses the soft key lights.
  15. cvam1985

    cvam1985 Well-Known Member
    Thread Starter

    I can't get it to make the soft keys light up for anything. Even if I turn off Handcents notification, and keep the default messaging notifications on.

    You reckon I have to completely uninstall Handcent?
  16. Can you please explain this further to me? I just bought this phone 2 days ago (came from Touch Pro) & the lack of a notification of missed activity (without physically turning on the phone or hearing something) is DRIVING ME CRAZY! Any help would bve appreciated. Thank you in advance.
  17. jvrobert

    jvrobert Member

    Changing the state of the LEDs in android is trivial, you echo "0" or "1" to /sys/class/leds/button-backlight/brightness and it will turn it on or off.

    You can test by booting into root mode and running "echo 1 > /sys/class/leds/button-backlight/brightness" - should turn on front lights. Then "echo 0 > /sys/class/leds/button-backlight/brightness" will turn it off.

    The problem is doing this seems to require root (or actually 'system') rights:
    ls -l /sys/class/leds/button-backlight/brightness
    -rw-r--r-- system system 4096 2010-01-07 17:01 brightness

    I think Android has a service running that manages it for the low-level apps in the phone, but for us mere mortals I'm not sure how to get to it barring rooting.

    If you've rooted your phone, you could probably just write an app that listens for SMS's and writes to that file to control flashing the LEDs.
  18. latinmaxima

    latinmaxima Android Expert

    I do believe Zefie was looking into this for one of his versions of customer kernels. Hopefully something more will come along. He does a lot as is so I will patiently wait. It was brought to his attention though around ze04 or se05. I believe numus and others may have been helping as well.
  19. Cool. Nice to know there are folk willing to work on solutions & share them with us commoners lol. I am really diggin this phone so far (minus the ease of Voice Command via bluetooth & notifications).
  20. PeteMatthews

    PeteMatthews Lurker

    At the risk of shameless self promotion - I had exactly this problem with my HTC Magic (weedy little LEDs were frankly no good to anyone), and so I wrote an app to deal with it without rooting the phone.

    Details at my site (Pete's Development Stuff - FlashNotify), or just search the market for "FlashNotify". It's free and everything, though feel free to donate ;)

    Hope this helps someone out...

  21. jen8112

    jen8112 Android Enthusiast

    I downloaded it...we will see! ;)
  22. edp

    edp Android Enthusiast

    thanks pete! just tried it out and works great.
  23. Keybeeetsss

    Keybeeetsss Android Enthusiast

    Thank you!!!!!!! I will use it for the day & see how accurate it is & will definitely donate if/when all is well...
  24. Mw182006

    Mw182006 Member

    Just downloaded...works for me. Would be nice to have the option to just light up the home/menu/back keys versus the whole screen, but I'll take it.
  25. chibucks

    chibucks Android Enthusiast

    +1, but we'll take what we can get. :) hehe... still trying it out, but works pretty well.

    thanks for the app pete.

    a couple of questions:

    1) i did notice that for missed calls, if you clear it from notifications, that sometimes it still notifies you until you go into your dialer... or was i not patient enough?

    2) do we have to start this app manually everytime we reboot? or does it autoload?

Samsung Moment Forum

The Samsung Moment release date was November 2009. Features and Specs include a 3.2" inch screen, 3MP camera, GB RAM, processor, and 1440mAh battery.

November 2009
Release Date

Share This Page