Illumination bar notification app - Sony Xperia P, U, Sola, Go

Hi,
I created an app that will let an Xperia S/P/U light up the illumination bar when there is an unread SMS or a missed call.
Available at Google Play if you search for "Illumination Bar Notification"
link
For U model there is multi color support, and for S/P there is only the one color supported by the hardware.
The LEDs can either blink at various speeds or have a constant light.
There is an option to stop the light when the screen is unlocked or keep blinking until the SMS has been read or the call has been acknowledged.
I have only an Xperia U to develop on, but it has been tried on S/P as well.
If you have any problems let me know and I'll try to fix it.
Thanks to user sl1nk3 that figured out there was an API we can use.
-------------
*** Running on custom ROMs ***
If you run CyanogenMod or other firmware not from sony you may need to install additional libraries for this app to work.
First option: IlluminationReceiver
This solution works for all devices with illumination bar (S/P/U/SP) and does not require any sony libs at all:
Latest version: http://forum.xda-developers.com/showpost.php?p=49359381&postcount=1175
First version (post contains more info) http://forum.xda-developers.com/showpost.php?p=37393546&postcount=664
--
Older solutions for solving this by installing sony libs:
Check out this post for instructions: http://forum.xda-developers.com/showpost.php?p=31592702&postcount=1180
For CM9 on Xperia U, read this post: http://forum.xda-developers.com/showpost.php?p=36310840&postcount=459

This is just what I've been waiting for. Thanks a lot! Will try it now
Edit. Working great! In a future update, could you add the feature to disable it after a pre-set time? Believe it will drain battery after some time
Play link: Illumination Bar Notification
Sent from my Xperia S

This is nice. Could you make it blink? and can you make it for email as well?
Thanks very much.

Good man I was waiting on an app like this.
edit:
can you add an option to leave the illumination light always on when the screen is on. I like to have it on when it is dark so that I can see where the buttons are. Thanks

only white colour :-(

Nimche said:
This is nice. Could you make it blink? and can you make it for email as well?
Thanks very much.
Click to expand...
Click to collapse
It has option to blink already.
There is no standard android way for apps to be notified for incoming e-mails, so adding e-mail support would likely mean having to implement a full e-mail client.
Maybe there is another way, but not that I know of.

mrsatan said:
can you add an option to leave the illumination light always on when the screen is on. I like to have it on when it is dark so that I can see where the buttons are. Thanks
Click to expand...
Click to collapse
That is probably doable, but I think it would be best to have that in its own app, since it is not related to notifications

Dude!!! I'm Not Gay, But I LOVE YOU!!! U Gave The Proper Meaning Of Sony's This STYLE ICON!!!
These are the things I would like to have for future update!!!
1-Stop the blinking after certain time period (for battery backup)
2-Notification for
A-CHARGE COMPLETE (as this wont drain the battery,and keep it cool)
B-Whatsapp notification
3-Please change the icon of this app (add a cool one for this cool phone)
4-Low rate of blinking should be much lower I think (like each blink after 5 sec)
5-If its possible blink in different style (disco,rhythmic...etc)
THANK YOU AGAIN, I REALLY LOVE TO SEE THIS IS INSTALLED WITHOUT MODDING OR ROOTING MY PHONE!!!
THANK YOU!!!

The app is pretty buggy for me.
sometimes it works "lighting up" but sometimes it doesnt even light up and instead it makes my screen lights up -.-
i like it when my screen is pitch black when i receive something.
please fix and will reconsider downloading.
thankyou

I would love to see the source code for this if you would like to release it. I had been working on a version of it myself, but I only just started android programming.
Also if you need a cool icon I can make you one. PM me

id just figured out whats the bug is.
1) a- it doesnt light up when you check "stop light when screen is unlocked"
the screen goes on and the led strip stops flashing.
b- and sometimes it doesnt light up until the second msg comes in or calls
c- overtime when just received a text or two the screen turns on as well as the led strip lights up, then somehow the screen turns on like every 10 secs or so. (not receiving anything)
2) like i said before please make the screen stay off when receiving any notifications. my screen goes on after i installed this app.
3) please include whatsapp and email for it.
thankyou really appreciate your work here. well done

Oh looks so great!, i thank you for this kind of worf as other request i dont want integration with other apps, just that the led stops blinking after a certain time

Looks great, but as the notification bar isn't very bright I would also like to see the notification LED continuing to blink as well.
Also, would be great if emails can be included.

Thx man, continue to develop it for more stuff (not only msg, and calls).
I will consider some donation then ;-)
Sent from my LT26i using XDA

Not sure why but it does nothing until I unlock the screen.
Sent from my XperiaS via subspace beacon.

Thanks for this! Works great!

Great app man!!
In the future, could it be possible to have custom flash rate? I think even the "slow" setting is quite fast.

Suprised this feature was left out at launch. But thankyou for this app!
Works great!
sent from my Xperia S

Great app! Really something that should have been there from the start!
What I would like to change are the following:
* no screen turn on when you receive an sms or call
* email support (for some)
* timeout - after the timeout it would switch to the notification led it's using now.
I'm not sure yet, but does the low battery standard notification still work? Or do you have to turn it off completly for this to work?
In a way a really like to think that this should only be used for calls, messages and emails.. maybe even not emails.. It should diferentiate itself from other notifications.. so this could only be used for those that you have to instanlty reply.. like messages and calls.. But I would still use the blue notifications for facebook, green for emails and red/orange for low battery. I think that this is how both things should work together.

Really great, light and cool app!!
But like some guys, my screen turn on when I receive an SMS
Moreover, sometimes the vibrations bugs: normaly, it's like "brrrrr, brrrrr" but sometimes I have "brr..." so in my pocket, it's not really noticiable

Related

[UPDATE: 16th Mar] Notification LED v2.0.1 - FREE version uploaded on the Market!!

I've put this in the Development section because whilst it is almost fully functional, it still needs a lot of development. Please be aware of this when you download it. I am not to be held responsible for anything that may happen as a result of running this app.
Requirements:
Root Access & a Custom ROM (StreakDroid 1.8.0 recommended (CONFIRMED WORKING ON 1.8.0))
Built under a 2.2 framework. If you are running anything pre-2.2 please be aware it may not work.
Please remember to remove all previous versions of the app before installing.
Simply open the app and press the "Menu" button. I hope you can figure the rest out! Enjoy!
"LED Notification FREE" has been uploaded in the Market. It has full functionality and it Ad Supported.
Please be aware that this version includes an "AdBlocker Check". This will block the app from opening if you have an adblocker installed on your phone. Sorry about this but i hate adblockers Alternatively, you can just remove all instances of Admob from your Hosts file.
Code:
[I][B][COLOR="blue"]QUICK HANDCENT FIX[/COLOR][/B]:
Open Handcent, press 'Menu > Settings > Notification settings > Popup settings'.
[B]MAKE SURE[/B] 'Screen on for popup' is [B]UNCHECKED[/B].
Handcent wont interfere with my app from then on :D[/I]
NEW TO 2.0.1
Asks for SU Access when the app first loads Fixes some weird error that happens every now and again.
Completely re-coded the SMS receiver. Much smoother now!
SMS and Gmail Notifications can be turned on or off
New settings page - done properly now, wont save anything to sdcard [you can delete your STREAKLED folder now!] Press the 'menu' button when you open the app for settings.
Permissions tweaked (should be less LED problems)
KNOWN BUGS
Changing orientation during the pattern causes problems. Just don't do it!
Notifications overwrite each other. So if an SMS message arrives and then a Gmail, only the Menu button will be lit, and vice versa.
Services cannot be stopped (only by uninstalling) FIXED - 2.0
Sometimes all the buttons will end up being lit, not sure why. [SHOULD BE FIXED]
TODO
Add options for turning the SMS and Gmail notifications on and off DONE - 2.0
Have different patterns for each DONE - 1.3
Improve the UI (sort of) DONE - 2.0
Improve the pattern flashing sequence (sort of) DONE - 2.0
Clean up the code (WIP )DONE - 2.0
Fix orientation issue
This will ALWAYS be available for free on here, on Modaco and on my website (see sig) but i have uploaded a 'donate' version on the Android Market Place priced at £1.50, just incase you fancy buying me a beer
Enjoy
Meltus said:
I've put this in the Development section because it is not fully functional and still needs a lot of development. This is basically a proof of concept app.
Requirements: Root Access (tested on 2.1 but build under a 1.6 framework so it should work on 1.6)
All you have to do is run the application, hit the home button and receive a text (or send yourself one). If your phone is locked it will wake up and dim the screen and flash the home/menu/back LEDs in a nice pattern and then keep the screen dimmed until you unlock the phone manually.
The only problem is that you will receive a Force Close error message and you will then have the re-open the app for it to work again. I am trying to fix this but will not be able to look into it for a few days so i thought i would release what i've done so far.
I will be adding settings and more patterns as soon as i can fix this FC error.
Enjoy
Click to expand...
Click to collapse
Well... GREAT!!! Thanks! It works... Was searching this kind of app for weeks. Thanks again!
Great little app. Can't wait for thenext update
Nice work.
Just out of interest though, what's the dangers of having the screen on dim all night if I get a text message at stupid o'clock?
Wouldn't want to burn anything on my screen if that is possible.
Amdathlonuk said:
Nice work.
Just out of interest though, what's the dangers of having the screen on dim all night if I get a text message at stupid o'clock?
Wouldn't want to burn anything on my screen if that is possible.
Click to expand...
Click to collapse
Screen burn is an issue on LCD screens, hence why i set it to do a dim wake lock instead of a full brightness one. Saying that, i have absolutely no idea whether screen burn would still occur but ill test it tonight and report back
On a positive note i have fixed the FC error and will release the fully working version tomorrow!!
Nice work dude ! Look forward to a full release tomorrow.
Any way to make this compatible with non rooted steaks on 1.6?
Sent from my Dell Streak using XDA App
jdmnash said:
Any way to make this compatible with non rooted steaks on 1.6?
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
No, i'm afraid not.
Without Root Access it will probably just force close.
Currently in the process of adding more LED patterns
It also now wakes the phone, unlocks the phone and displays an "SMS Message Received" popup which it then hangs at until you close it.
Do you guys think this is better or should I make it lock the screen instead?
What else should i add/change?
Meltus said:
Do you guys think this is better or should I make it lock the screen instead?
What else should i add/change?
Click to expand...
Click to collapse
I'd prefer it stayed locked, also if I read this thread correctly, it leaves the screen on (but dimmed?) is that true? I would need it to kill the screen, because as noted, it could kill your battery if you went a long time w/o clearing the alert.
Nice work so far though...
a042349 said:
I'd prefer it stayed locked, also if I read this thread correctly, it leaves the screen on (but dimmed?) is that true? I would need it to kill the screen, because as noted, it could kill your battery if you went a long time w/o clearing the alert.
Nice work so far though...
Click to expand...
Click to collapse
Yeah, that's the only problem.
unfortunately, killing the screen freezes the LEDs in whatever state they're in, completely defying the point of the app
What i could do though, is wake up the screen, flash the LEDs but leave one on and turn the screen back off. This would turn everything off apart from that 1 LED and you could use different LEDs for different notifications. I'll try that out later.
Yeah, that seems like a good idea. Maybe the Back LED for missed SMS, the Menu LED for missed call. Something like that.
That would be cool, I'll await your work and give it a try.
Well, it turns out that works miles better than what i was trying before.
Basically, it now turns the screen on, keeps it locked, flashes the LEDs, turns the screen back off and leaves the home LED on.
Give me about 10 mins and i'll put up a working version. No FC error this time
Can't wait for this!
Sent from my Dell Streak using XDA App
First post updated with a working version
None of the options work on the main screen yet, but they will.
Enjoy
I haven't tried this yet, but I just want to say THANKS! No notification light was driving me crazy! I'm gonna install it now. I like that it would kill the screen but leave the LED light on. That's perfect!
**EDIT**
Well, it didn't work perfectly. Here's what happened on my Beta Streak....
With locking disabled (I use the 'NO LOCK' widget), it turned the screen on and said 'SMS received' and the home LED was on, for about 1-2 minutes, then both went off. When I turned back on the screen and read the msg, the LED went out.
With locking enabled, like most people would be using the app, the screen turned on for a few seconds while the LED pulsed, then both went out. No notification. When I unlock and read the msg, the home LED stays on. I have to 'clear' the app in the notification tray and lock then unlock the screen to make the home LED go out.
Seems like they're little tweaks that could be needed. If you can make this work and be functional, I'll donate to your Paypal! Again, thanks for your work on this project!!
Yeah, it's still pretty much in it's 'Alpha' stage
Cheers, for the feedback, i'll look into the errors.
I know that if the screen is unlocked the Home LED will stay on until you lock/unlock the screen, but that should be an easy fix (hopefully), and i've not set up the Thread's quite right i don't think which could be causing the timing errors.
I'll be spending all of tomorrow getting this thing working so i'll report back
Awesome! You are the man!
A thought for down the road development:
Earlier today when I was thinking about this, I imagined an interface where the user could "record" their own flash sequence for each type of notification they had - email, sms, mms, missed call, etc. Just choose which notification they want to specify, click record, then tap the capacitive buttons in the sequence you want them to light up, then end the recording. Interval timing could be recorded or specified manually. Just a few ideas!
Thanks so much for this. I'll give it a run soon.
Awesome work. Wanted something like this. I hope you will be able to add notifications for misssed calls and gmail as well. Keeping my fingers crossed.

Getting Light Flow to Work

After much trial and error. I finally got Light Flow working on my S3. Here's what I did to get it to work :
Go to Setting > Led Notifications, and Only check Missed Events. Leave the others unchecked.
Make sure you disable all LED notifications in the rest of your apps (WhatsApp, GoSMS, etc); you'll need to let Light Flow handle these notifications. In some circumstances you may need to disable the 'screen on, on notification event' option in these apps to get the Light Flow to work.
In Light Flow, if you want to test the color of your notification, in 'Clear Notification Style' select 'App Entered', then scroll down to 'Test Notification', wait for the Pop-up and press the power button (to turn off your screen). Sometimes you might need to wait about 30 secs for the light to appear. This is just to test the color of your notification, Light Flow will still work with the rest of the Clear Notification Styles.
I'm on root, so the above works for me. It might work for non-rooted phones though.
Also, you may notice that not all colors are supported by the S3. Typically, the distinct colors I got are :
Cyan
Blue
White
Green
Indigo
Lime
Yellow
Orange
I tried the custom colors, but the S3 LED seemed to provide some mesh-ed up mix of colors.
I can't find what you mean by " Setting > Led Notifications".
Is that in the system settings, light flow settings, or individual app settings within light flow?
Mine just worked out of box... No fuss.
joelunch said:
I can't find what you mean by " Setting > Led Notifications".
Is that in the system settings, light flow settings, or individual app settings within light flow?
Click to expand...
Click to collapse
System > Display > LED
You should not have to disable notifications in the apps for lightflow to work.
Because Lightflow registers itself as an accessibility tool, it should override any other notifications.
wow.....
all you need to do, OUT OF THE BOX.
Settings, Accessibilty, ------and heres the kicker...Turn on Light Flow, lol
Not to mention light flow keeps asking you to do this all the time!
Sent from my GT-I9300 using Tapatalk 2
Guys you know that lightflow has a wake lock problem?
Had it installed and it drained my battery like anything, with it installed lucky to get 8 hours of battery, uninstalled i get 2 days.
the2rrell said:
wow.....
all you need to do, OUT OF THE BOX.
Settings, Accessibilty, ------and heres the kicker...Turn on Light Flow, lol
Click to expand...
Click to collapse
It didn't work for me out of the box. Notifications come on but don't turn off, and sometimes come on at random.
mrtoken said:
Guys you know that lightflow has a wake lock problem?
Had it installed and it drained my battery like anything, with it installed lucky to get 8 hours of battery, uninstalled i get 2 days.
Click to expand...
Click to collapse
I couldn't get it to work on my sgs3 either. Just gave me the green light. The developer website says they're working on getting the US version of the s3 working but it sounds like it has issues with wake locks as well.
anyone else found a similar app that works on the sgs3? I really miss being able to designate any color I want for diferent email, text, missed calls, etc.
Ive never got light flow working properly.
Usually it prevents all notifications working for me but then gives me none of its own. The test is only ever green.
I set all my notifications blue as I only want it for sleep. Last install (this week) it actually worked. It went to sleep too. YAY!
but alas it was not to be. No more notifications the next day.
I only want to put my LED to sleep when I go to sleep. Why is this such a big ask?
It works well for me - but i SOMETIMES get the stock blue flashing light and can't figure out why.

[APP] Optimus Nano Notification

As many of you have noticed, the notification light on the LGOG is annoyingly slow. In light of this, I sought out a solution. I've tried Light Flow, which worked well enough, but it wasn't quite what I wanted. I thought I was on to something with Tasker (awesome app!) and had something functional. Then I saw the great work from GermainZ here posted by TangoXray here and saw that it was possible to also include using the capacitive button backlights similar to BLN (back in the Samsung Captivate days). After a while of fiddling, I've come up with this Tasker-made app.
I designed it to be straight forward, yet have several options. It's a bit simpler to use than GermainZ's app, but is not as powerful or customize-able since it is designed specifically for the E970 (it may work with other devices, but I doubt it).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It requires:
1. Root Root is NO LONGER NEEDED!!!
2. Secure Settings (has a needed plug-in for Tasker and allows the screen to be woken up). The app will prompt for installation of this from the Play Store (it's FREE).
3. Accessibility enabled. The app has a button to quickly access it.
The options are:
1. LED on and off times (in milliseconds) are adjustable. However, it appears the system has a limit to how small of an off time is allowed.
Default: 1000 ms on and 100 ms off​2. Notify duration (in seconds) for how long you want it to work before shutting off after a new notification. This way your lights aren't flashing for too long (this should be a battery saving measure if you suspect you might leave your beautiful phone alone for very long).
Default: 600 s (10 minutes if you needed help with the math )​3. Screen On With Notify. When enabled, the screen will turn on momentarily (roughly 3 seconds) when a new notification arrives. I find this helpful so I can quickly look at the notification bar when the notification arrives without having to touch the phone.
Default: On​4. Button Lights. When enabled, the button backlights will pulse at the rate specified with the LED on/off times.
Default: On​5. LED Light. When enabled, the red notification light around the power button will pulse at the rate specified with the LED on/off times.
Default: On​6. ONN Notification. When enabled, a notification will appear in the dropdown when you receive a new notification. This can be clicked to clear the light flashing, but still keep the message in the notification bar. This can also be set to permanent (until the notification is cleared). This is pretty much only useful if you "swipe" away your notifications. Since I haven't found a way to clear the light flashing from such an action, the lights will continue to flash until you open up one of the supported apps.
Default: On and On​7. Clear On Unlock (Go Locker). When enabled, the ONN notification will clear and cancel the blinking when you unlock your phone. The app's notification that triggered the event will still be in your notifications. Now works with Go Locker (the only 3rd party lockscreen I've tried it with)! I assume that the stock lockscreen and Go Locker trigger in different ways. I hope to get it to work with other lockscreens.
Default: On (Go Locker Off)​8. Clear On Screen On. When enabled the ONN notification will clear and cancel the blinking when the screen turns on. Even if you have the "Screen On With Notify" enabled, it will still keep the notification until you purposefully turn the screen on.
Default: On​9. No Timeout While Charging. When enabled, the ONN notification and blinking will not timeout while your phone is charging. When you unplug, the timeout timer restarts.
Default: On​10. Battery Level Cutoff %. When your battery is below this level, the ONN notification and blinking will cancel and no new notifications will trigger ONN.
Default: 20%​11. Constant LEDs. When enabled, the lights do not blink, but rather stay on. This has the trade-off of not needing the app to use loops (helps with battery), but potentially uses more battery since the light is on more. More testing is needed to see if it hurts.
Default: Off​12. No LED while Charging. Turns off the LED when charging so that the light is only used for notifications. The light will still turn on momentarily when you plug in the charger.
Default: On​
There is also an option to test your settings. You just need to turn your screen off and then when you're done, click "stop". Be aware that the first time you use it, it may behave a little off until you grant root access. After this, it *should* work smoothly.
Right now, I have it set to trigger on notifications from:
Calendar
Email
Gmail
Google Voice
Messaging
Missed calls
Google Talk
Contacts +
K-9 Mail
WhatsApp
Line
To reset the notification, you can do one of the following:
Click on the notification
Click on the ONN notification in the dropdown (if enabled)
"Clear" the notification in the dropdown
Open one of the supported apps (you could open Gmail to clear a text, for instance)
Click the "Stop" button within the app (next to the "test" button)
Using #7 or #8 above
Other recommendations:
Inside the app SuperSU, you can set it to not show a "toast" notification each time. Otherwise, it gets a little annoying seeing "ONN has been granted superuser access" each time.
I have turned off the ONN Notification toggle so I don't get the extra icon in my notification bar (and so the new notification stays visible a little longer instead of the ONN Notification "scrolling" up.
Inside System Settings --> Display --> Notification Flash, turn off the "Use LED light for notifications". I'm not sure it would interfere, but I figure might as well leave it off so it doesn't cause issues.
When updating the app, if you encounter issues, clear the app data.
I will later try to add more features and spruce it up a bit. But for now, I think it's quite functional. Please let me know if there's anything not working or if something should be added. I'm new to app making with Tasker, so it's a bit of a learning experience. I have also attached the Tasker XML that I used to create the app in case anyone wants to use that or improve it.
Changelog:
v1.1
Fixed the Google Talk trigger
Added ability to clear notification by turning on the screen or unlocking the phone
Added no timeout while charging
Added auto-cancel when battery below user-specified value
Spruced up and modified the UI
Added "About" to the UI
v1.2
Fixed Messaging and Email clear (forgot to actually add these originally)
Added Go Locker unlock
Fixed lights getting stuck (prevented the task from disappearing when the screen is off)
Added support for Contacts + and K-9 Mail
v1.3
Added support for Line and WhatsApp
Added constant on for the LEDs toggle (instead of blinking)
-the red power LED will still pulse like it did for charging
Added "No LED while Charging" toggle so the LED is only used for notifications and not for charging.
-the light will still turn on momentarily and then turn off
Improved battery usage (hopefully).
-This *will* still use more battery than if you didn't use it since the lights are on longer than the stock notification interval
v1.3.1
Removed need for root (I no longer use the echo "255" script--instead, I saw that the max brightness for the button backlights is 3, so I could just use the Tasker function).
Two versions--one with the K9 Plugin (you will need to have K9 installed whether you want it or not), the other without the plugin so you don't have to install the app (it's free, so it's not a huge deal IMO). It will still work with notifications sent from the K9 app either way and opening the K9 app will clear notifications.
Made sure it works with Jellybean (thanks to gstar101 for catching the earlier incompatibility)
Bugs:
Still behaves a bit funny at first (specifically after the first install and before root access is granted)
*May* experience higher amounts of battery consumption. Please let me know if this happens (I've been getting roughly 3 or 4% battery usage from ONN).
TODO:
Find a way to get the screen on function to work without Secure Settings
Get 3rd party lockscreens (besides Go Locker) to cancel the notification
Add other apps to trigger ONN?
Eventually, I will release this on Google Play under my developer name "NanoTech". First, I'd like some feedback on what bugs need to be fixed or features that should be added. GENTLE feedback is appreciated!
Special thanks to GermainZ for answering questions about Tasker and putting up with me. Also, thanks to TangoXray for letting us know about ButtonLED in the LGOG forum.
Good job
You could probably make it work without secure settings: try using shell commands to control the screen's backlight. If I'm not mistaken, something like "echo 255 > path" will turn the screen on if it's off (you can then use the user defined variable for brightness, since Tasker can get that).
Good luck!
Edit: Actually, using an intent to turn the screen on should be much easier. I have the habit of over complicating things, lol. Google it if you like, not sure what the syntax is (you can either use the shell or the built in Intent action).
Awesome!
Edit: It works well by the way.
Working pretty well :thumbup:
Love that you incorporated the ability to have both cap buttons and led blink together.
Nice job!
Sent from my LG-E970 using xda app-developers app
Works great, for me it hasn't been killing my battery, and makes the notification light usable. Only thing that slightly bothers me is that the notification light doesn't smoothly pulse, but that's a small price to pay.
Great job.
milkyline said:
Only thing that slightly bothers me is that the notification light doesn't smoothly pulse, but that's a small price to pay.
Click to expand...
Click to collapse
I'm pretty sure setting the red led to anything greater than 0 sets the led to pulse. To get smooth pulses, adjust the on times. I'd start with 3 seconds and adjust from there.
Sent from my LG-E970
Since I use the Diztrinuc case, which blocks the power button, this app is indispensable. Thanks for putting it together! This works great to enable the front button lights as notification lights.
Sent from my LG-E970 using XDA Premium HD app
Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970
hassa9 said:
Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970
Click to expand...
Click to collapse
I'm glad it's working well! Also, no one has told me any bugs, which means that I made it flawless--doubtful--or, any issues are small. Either way, I'm fine .
I had thought about the individual control, but I'm pretty sure they are all connected. So, to my knowledge, that is not possible.
I like your 2nd idea! I'll work that into the next release. I'll probably release something new soon (likely, this weekend) that is a big re-work of the whole thing. I'm trying to add the option to have the notification stay on as long as it is charging (so it won't timeout), as well as have it stop if the battery is below a certain percentage. I've also fixed the Google Talk notification. I haven't been able to find a different way to get the screen to wake up momentarily without the use of Secure Settings. Personally, I don't think it's a big deal, but it's probably preferable to not need to download a second app--even if it is free. I'll bug GermainZ some more to see if he has any ideas for me .
Almost had a bug for you. Figured out it was the permanent on option lol Nice work.
Btw, that wakelock issue that we talked about hasn't reappeared :thumbup:
Sent from my LG-E970 using xda app-developers app
hassa9 said:
Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970
Click to expand...
Click to collapse
#2 a million times over! I;'ve noticed that even accessing my messages after I get a notification will not stop the notification. I have to go into my status bar and click the ONN icon in order for the pulsing to stop. Sometimes, this can go on FOREVER without me knowing it and my battery just decides to crap out.
The program is awesome tho!! Just would like that feature.
I have a feature request. Can you make it where the light does not come on for charging. I keep it plugged in so it keeps pulsing and I always think I have a notification. Thank you
Sent from my LG-E970 using xda app-developers app
mws1986 said:
I have a feature request. Can you make it where the light does not come on for charging. I keep it plugged in so it keeps pulsing and I always think I have a notification. Thank you
Sent from my LG-E970 using xda app-developers app
Click to expand...
Click to collapse
I like that idea as well. I had tried something to get that last week, but couldn't get it to work reliably. I'll definitely keep trying and include it in one of the next releases if/when I figure it out.
Keep the requests coming! I'll do what I can. Although Tasker is awesome, it does take some time making apps on a phone screen.
CapnPez said:
I like that idea as well. I had tried something to get that last week, but couldn't get it to work reliably. I'll definitely keep trying and include it in one of the next releases if/when I figure it out.
Keep the requests coming! I'll do what I can. Although Tasker is awesome, it does take some time making apps on a phone screen.
Click to expand...
Click to collapse
Well do what you can. You have already done more than I could do. This is a great app and I'm looking forward to see where its headed. Thank you
Sent from my LG-E970 using xda app-developers app
Globalrebel said:
#2 a million times over! I;'ve noticed that even accessing my messages after I get a notification will not stop the notification. I have to go into my status bar and click the ONN icon in order for the pulsing to stop. Sometimes, this can go on FOREVER without me knowing it and my battery just decides to crap out.
The program is awesome tho!! Just would like that feature.
Click to expand...
Click to collapse
I'd also like to see this implemented, if possible. Otherwise, I'll keep saying it, this is a very very VERY useful app. Thanks again for the work!
The app seems to be going haywire on my phone. I've re-installed it a few times now. It will work fine for a day then the led doesn't blink when I get a notification and the battery use for ButtonLED jumps up to around 60%. Any ideas?
johnbyebye said:
The app seems to be going haywire on my phone. I've re-installed it a few times now. It will work fine for a day then the led doesn't blink when I get a notification and the battery use for ButtonLED jumps up to around 60%. Any ideas?
Click to expand...
Click to collapse
That's interesting. What settings do you have on the app? Do you have any other Tasker profiles running? Each time you re-install, you'll need to re-enable the Accessibility as well.
On the version I'm working on now, I'm trying a method to reduce battery usage by disabling the profiles that look to see if one of the apps that generate a notification (Gmail, Voice, etc.) is open (and thus clear the notification) when there is no notification. That way, it won't be polling the apps when it doesn't need to. I'm not sure if that will have much of an impact.
However, I haven't ever seen my battery usage jump up that high (usually, it stays below 4% for me--but I usually clear my notifications fairly soon after they come). Are you using my app (ONN) or GermainZ's (ButtonLED)? I would recommend not using both at the same time.
CapnPez said:
That's interesting. What settings do you have on the app? Do you have any other Tasker profiles running? Each time you re-install, you'll need to re-enable the Accessibility as well.
On the version I'm working on now, I'm trying a method to reduce battery usage by disabling the profiles that look to see if one of the apps that generate a notification (Gmail, Voice, etc.) is open (and thus clear the notification) when there is no notification. That way, it won't be polling the apps when it doesn't need to. I'm not sure if that will have much of an impact.
However, I haven't ever seen my battery usage jump up that high (usually, it stays below 4% for me--but I usually clear my notifications fairly soon after they come). Are you using my app (ONN) or GermainZ's (ButtonLED)? I would recommend not using both at the same time.
Click to expand...
Click to collapse
Um...oops. I just realized I posted this in the wrong app thread, haha. I'm using GermainZ's. Apologies. I haven't had my coffee yet. :silly:
johnbyebye said:
Um...oops. I just realized I posted this in the wrong app thread, haha. I'm using GermainZ's. Apologies. I haven't had my coffee yet. :silly:
Click to expand...
Click to collapse
No problem (I'm glad it's not something wrong with my app!). I hope you get it sorted out. However, you could see if using my app makes any difference (although GermainZ is a lot more experienced than I am, so the likelihood of mine working and his not isn't all that great ). Also, did you re-enable Accessibility after your re-installation of his app? I'm pretty sure every time you uninstall something, it clears that and you would need to re-enable when you install it again.
CapnPez said:
No problem (I'm glad it's not something wrong with my app!). I hope you get it sorted out. However, you could see if using my app makes any difference (although GermainZ is a lot more experienced than I am, so the likelihood of mine working and his not isn't all that great ). Also, did you re-enable Accessibility after your re-installation of his app? I'm pretty sure every time you uninstall something, it clears that and you would need to re-enable when you install it again.
Click to expand...
Click to collapse
Thanks. I did enable Accessibility each time. I switched to your app but I'm still having issues. These apps really don't like me, haha. Maybe something is conflicting? I'm not sure. My app settings are attached and here is a video of what happens:
EDIT: I don't have ButtonLED installed at the same time just fyi.
http://youtu.be/sLLcNmVi2RQ
The LED stops blinking and then the duration changes to something else.

[APP][XPERIA U][JB] ledbar for xU

Hello xda !
(first, excuse me for my bad english, my first language is french)
You know, the project "freexperia" provide CyanogenMod on xperia phones.
One feature of this phone is that it has a multicolored LED bar. 3 group led with three primary color.
You probably know the application "Illumination bar". But it interacts with the bar led through an API, written by Sony. (correct me if I'm wrong).
Some ports work. Others do not. It depends on many factors actually.
So I wrote an application, initially for my own personal use. I decided to share with you, to know your opinions and ideas.
The application itself is not very interesting. It can adjust the color of the LED bar.
Well, once the service is launched, it will execute a bash script. In an infinite loop, the script will constantly check if the LCD screen is on or not. If it is, the LED bar lights up with the values ​​you have chosen. Otherwise, it turns off.
The LED bar also check the battery level, if the energy saving option is enabled, and the level will drop to 15% ~ 20% of what you have previously configured.
Simply. This roughly reproduces what happens with a stock ROM. Except that the ROM completely off the led bar after a certain period of inactivity (and reactivate it if you push a ranom button).
Currently, bar LED will remain lit as long as the screen is on. I write a piece of code to add this feature later if that tells you
I now propose to try the application. The root is required because the application will execute a bash script (I told you earlier).
No need to patch or enter recovery mode. Just install an APK. Link in the description.
Now I count on your opinion. Hope you like it.
Thank you in advance!
Note: The application is designed to work without any further application to interact with the LED bar. It is for these roms without service "Illumination" this application has been designed. Thank you!
----------------------
Changelog : v1.1
Updated : Preparing for control three colors independently, but not immediately
Updated : Light bar is not updated when the screen is off. But always updated when the screen is on (for battery saving)
Updated : Presets values (Red, Green, Blue, Magenta, Yellow, Cyan, Sony Blue)
Improve performances. But not sure.
Removed : Wake lock permission. Useless, maybe in the future...
Updated : ... wait, I have forgotten the rest ...
thunbs up for developing this app.
Can you make it work on ICS also? I would really like to see it..
does this app allow to choose 3 different colors at the same time? I have been waiting for an app to do this since I have bought XU!
ICS
nice work mon frere but it makes my phone very slow
Good job guy !
I test it and I give my results for battery consumption and if lags are present
evildev said:
thunbs up for developing this app.
Can you make it work on ICS also? I would really like to see it..
Click to expand...
Click to collapse
for the next update, it should not pose too much trouble. Theoretically.
heatseeker_x04 said:
does this app allow to choose 3 different colors at the same time? I have been waiting for an app to do this since I have bought XU!
ICS
Click to expand...
Click to collapse
I'll see what I can do.
dips777 said:
nice work mon frere but it makes my phone very slow
Click to expand...
Click to collapse
Oh. This is weird. Now question is whether this comes from application or another program that is in conflict.
The question is whether "bash" is the source of the problem (this is the process that executes the main script).
For that, go in the developer options, and activate "Show CPU usage". It should display an overlay. And tell me if the process "bash" is top of the list.
Info4Geek said:
Good job guy !
I test it and I give my results for battery consumption and if lags are present
Click to expand...
Click to collapse
Thank you !
Consumption should still increase. Bar LED consumes a significant portion of energy.
Do not hesitate to lower the light levels in the application. A little less light can save a few minutes.
I am looking particularly off led bar after a certain time when the phone screen on.
-------------------------------------
If any questions, or ideas, do not hesitate.
No lags on my phone with your app !
For battery consumption, not especially a significant decrease for battery
I'm on CM10.1
Its sencond on the list.
Would really like it if you could modify the app.........like add preset colours and make the light work like exactly in the stock rom(switch off after sometime....turn on when press buttons). :laugh:
Hello there ! I developed an update!
More than a week without news. I know.
I added some features and optimized the script (a feature coming soon!).
I added a preset list of basic colors for the light bar. Of course you can always put the values ​​you want. It does not change and will never change.
The script has been optimized (especially when the screen is off) and now I'm working on the option requested to independently apply a color on a single LED.
You will understand: 3 different color for different LEDs present on the bar! But it will not for now.
Soon.
The update is available in the first post.
Can You chose color for single LED? Any new information?
marcinwolosz said:
Can You chose color for single LED? Any new information?
Click to expand...
Click to collapse
It is possible. In the next update, you can choose a color separately from the others.
It will not be available immediately unfortunately. This application is not really my first priority in truth ...
Tiwy57 said:
It is possible. In the next update, you can choose a color separately from the others.
It will not be available immediately unfortunately. This application is not really my first priority in truth ...
Click to expand...
Click to collapse
Thanks for answer. I'm waiting for update

Huawei Ascend G630 does not LED notify light WhatsApp messages

Hello
Ive seen a Huawei Ascend G630 that a friend has and he told me that the notification light when receiving WhatsApp messages does not work. The light is green by WhatsApp configuration.
How can I test the notification light is working correctly? When charging, it does light up.
riahc3 said:
Hello
Ive seen a Huawei Ascend G630 that a friend has and he told me that the notification light when receiving WhatsApp messages does not work. The light is green by WhatsApp configuration.
How can I test the notification light is working correctly? When charging, it does light up.
Click to expand...
Click to collapse
I have Huawei Acend G630,and I have issue with LED indicator,its only on when charging or when the battery is low..its off for notification,I tried many apps to test it and its not blinking.
My friend have a same phone (just white edition,mine is black) and his LED indicator is blinking on notification.
HELP me,what to do,I had a BlackBerry,and i get used to led indicator,i want it to work on my g630
I'm not sure if this is the same as your problem, but my old phone only had blue and red LEDs, so setting the light color to green would result in nothing. If changing the color doesn't fix it, then I don't really know what the issue is, but you could try using an app such as Light Manager to test out the light.
Tried
Tried with that app and no light works when testing..... maybe a update???
SOLVED!
Install "Notification light widget" from google play store.
Add widget on homescreen and just tap on it.
I dont know whats cause this bug but this widget force LED light to start working.
Then install light manager if you want to edit your light colours
Just Google for every f*****g thing
If this work for you click thans button
Cheers!
medin.mehic said:
SOLVED!
Install "Notification light widget" from google play store.
Add widget on homescreen and just tap on it.
I dont know whats cause this bug but this widget force LED light to start working.
Then install light manager if you want to edit your light colours
Just Google for every f*****g thing
If this work for you click thans button
Cheers!
Click to expand...
Click to collapse
Is it made by "Motorola Mobility LLC"? Is it only for Motorola?
Nope, that widget isnt working either...
riahc3 said:
Nope, that widget isnt working either...
Click to expand...
Click to collapse
Its said for motorola but for me its worked on Huawei.
Try to make a new google account,its possible that notifications are turned off on google settings from your smartphone that you had before G630.
First what I've did is creating new google acc and installed NLWidget and LED its work!
Answer
riahc3 said:
Hello
A
Ive seen a Huawei Ascend G630 that a friend has and he told me that the notification light when receiving WhatsApp messages does not work. The light is green by WhatsApp configuration.
How can I test the notification light is working correctly? When charging, it does light up.
Click to expand...
Click to collapse
OK, on usual devices, just drag your application to the app info icon and when it opens, on the top left corner just below the app name you can toggle on/off notifications. Please let me know if this works.
medin.mehic said:
Its said for motorola but for me its worked on Huawei.
Try to make a new google account,its possible that notifications are turned off on google settings from your smartphone that you had before G630.
First what I've did is creating new google acc and installed NLWidget and LED its work!
Click to expand...
Click to collapse
Well making a new Google Account for this doesn't make sense. Also, the person before had the same Google Account on another phone and the notifications were lit up perfectly on the person's previous phone. Anyways, I DOUBT this has ANYTHING to do with, for example, WhatsApp, notifications.
TheHelper said:
OK, on usual devices, just drag your application to the app info icon and when it opens, on the top left corner just below the app name you can toggle on/off notifications. Please let me know if this works.
Click to expand...
Click to collapse
It sounds odd because by defect it IS activated so why would it be deactivated? Also, with the widget and the light manager app it does not light up either.
There was to be some strange software bug in MIUI playing up here.
riahc3 said:
Well making a new Google Account for this doesn't make sense. Also, the person before had the same Google Account on another phone and the notifications were lit up perfectly on the person's previous phone. Anyways, I DOUBT this has ANYTHING to do with, for example, WhatsApp, notifications.
It sounds odd because by defect it IS activated so why would it be deactivated? Also, with the widget and the light manager app it does not light up either.
There was to be some strange software bug in MIUI playing up here.
Click to expand...
Click to collapse
The glitch is a side effect of restoring from your Google account to the phone, which is part of the setup process for the phone. The feature downloads apps and settings from the cloud, which is usually a good thing. But in some instances it can tell the phone to restore the notification LED setting from another phone, leaving the light disabled with no way to re-enable it.
Fortunately there's a simple fix for this issue, and it's one that apparently applies to Motorola and some other phones too...
Motorola has released a widget that lets you toggle the notification light on and off, so if you're affected by this bug simply download it, place it on a home screen and toggle it on. After that you can remove the widget and your notification light will continue to work.
I dont know why but this bug comes with old google acc.
My LED was dead(it was on only on charging and batery low,not for notification),and I did factory reset,create new google acc. installed Notification light widget,and LED started to work,then I installed a Light manager for editing colours for notification.
Strange but black G630 have this bug,white G630 LED works perfectly.
medin.mehic said:
The glitch is a side effect of restoring from your Google account to the phone, which is part of the setup process for the phone. The feature downloads apps and settings from the cloud, which is usually a good thing. But in some instances it can tell the phone to restore the notification LED setting from another phone, leaving the light disabled with no way to re-enable it.
Fortunately there's a simple fix for this issue, and it's one that apparently applies to Motorola and some other phones too...
Motorola has released a widget that lets you toggle the notification light on and off, so if you're affected by this bug simply download it, place it on a home screen and toggle it on. After that you can remove the widget and your notification light will continue to work.
I dont know why but this bug comes with old google acc.
Click to expand...
Click to collapse
Is the widget for activating it when you receive a notification? I might have been doing something stupid as in just toggleing on and off without doinging something.
Im going to turn it on using the widget and then send a WhatsApp to that person and see if it works.
medin.mehic said:
My LED was dead(it was on only on charging and batery low,not for notification),and I did factory reset,create new google acc. installed Notification light widget,and LED started to work,then I installed a Light manager for editing colours for notification.
Strange but black G630 have this bug,white G630 LED works perfectly.
Click to expand...
Click to collapse
Creating a new Google Account is a overkill and completely out of the question. At most, in the Google account, there has to be a setting to receive notifications. But even then, notifications are received perfectly; It just the light that doesn't turn on!
riahc3 said:
Is the widget for activating it when you receive a notification? I might have been doing something stupid as in just toggleing on and off without doinging something.
Im going to turn it on using the widget and then send a WhatsApp to that person and see if it works.
Creating a new Google Account is a overkill and completely out of the question. At most, in the Google account, there has to be a setting to receive notifications. But even then, notifications are received perfectly; It just the light that doesn't turn on!
Click to expand...
Click to collapse
WIDGET force LED to turn on,after toggle on, restart your phone and test whatsapp or install light manager and test the LED...
And google acc. is connected with this bug,I'm sure 10000% !!!!
medin.mehic said:
And google acc. is connected with this bug,I'm sure 10000% !!!!
Click to expand...
Click to collapse
You have absolutely 0 proof of that. And I can confirm it isn't connected to this bug at all.
Solved. Thread can be closed.
riahc3 said:
You have absolutely 0 proof of that. And I can confirm it isn't connected to this bug at all.
Solved. Thread can be closed.
Click to expand...
Click to collapse
Are you solved your problem with LED ?
Mine is work perfectly whats with yours? Send mail to google and they will tell you am i in right

Categories

Resources