• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

FYI: Changing LED Notification Light color based on App - Light Flow

Sorry everyone for the slow reply, must have done my usual trick of reading my notification message and forgetting to then actually read the forum to get notified of new messages.

Here's a list of the permissions required and what they are used, it's in a bit of a techie format as it's directly like this in my code but hopefully it makes sense.:

<!--permissions to start the app when the phone boots-->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<!--permissions to monitor for incoming sms messages-->
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<!--permissions to monitor for incoming mms messages-->
<uses-permission android:name="android.permission.RECEIVE_MMS"/>
<!--permissions to clear when sms has been read-->
<uses-permission android:name="android.permission.READ_SMS"/>
<!--permissions to monitor for incoming calls, so sounds don't play when in a call-->
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<!--permissions to monitor for the missed call status in the call history-->
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<!--permissions to change the color even when your phone is off-->
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<!--permissions to allow for vibration settings-->
<uses-permission android:name="android.permission.VIBRATE"/>

<!--permissions for calendar event monitoring-->
<uses-permission android:name="android.permission.READ_CALENDAR"/>

<!--permissions for gmail to list all gmail accounts and check when the mail has been read-->
<uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="com.google.android.providers.gmail.permission.READ_GMAIL"/>
<uses-permission android:name="com.google.android.gm.permission.READ_GMAIL"/>

<!--permission for gtalk to monitor for new conversations-->
<uses-permission android:name="com.google.android.providers.talk.permission.READ_ONLY"/>

<!--signal strength monitoring-->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

<!--for backup / restore of settings onto sd card-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />


And here's the answer from my website on the credit card details etc:

When I switch on Accessibility for Light Flow it prompts that the app may capture credit card details, why do you want those?
We don't. It's a standard message from Android when switching on any accessibility services, similar to if you use a custom keyboard a similar message pops up. We use the accessibility service to capture notification events in the notification bar and to recognize when you've entered certain apps to automatically clear down notifications. If you look at the permissions used by the app we do not require Internet Access or the ability to send SMS / Mail messages so the app could not do anything with captured details anyway!

I hope this clears things up for you, but if not, just let me know.
 
Cheers for your efforts mate!

I wanted to ask, in the paid version, where it says Notification - Battery and Notification - Charging, what do these mean?

still trying to set this up properly, htc desire 2.2.1 rooted etc... but it is a bit hit and miss. Worth supporting though! Hopefully you can iron out all the little glitches :)
 
was in the process of uninstalling/reinstalling.

the app is currently uninstalled, but i'm not getting sms led notifications at all now that it's uninstalled.

have checked in the messages app settings and it is all switched to on...

edit: after a couple of reboots it seems to have ironed itself out
 
Cheers for your efforts mate!

I wanted to ask, in the paid version, where it says Notification - Battery and Notification - Charging, what do these mean?

still trying to set this up properly, htc desire 2.2.1 rooted etc... but it is a bit hit and miss. Worth supporting though! Hopefully you can iron out all the little glitches :)


Notification Battery and Charging just gives you the ability to change the frequency of checking between cyclic around message color changes, or to switch to priority mode.

The main reason behind this is that the slower the change the less it runs the code and therefore the less battery gets used.

Hopefully the latest release 1.6.2 might help on the desire as I've been working on improving compatibility with HTC phones.
 
was in the process of uninstalling/reinstalling.

the app is currently uninstalled, but i'm not getting sms led notifications at all now that it's uninstalled.

have checked in the messages app settings and it is all switched to on...

edit: after a couple of reboots it seems to have ironed itself out

Yes, a reboot is the easiest way to ensure the notifications get cleared. You may not think you've got any notifications showing, buy while light flow is running there's always a notification up (it's just often transparent - ie not lit)
 
So, i reinstalled the app, did a reboot and even a battery pull. For some reason, it does not allow my whatsapp message light to blink. This is in the free version.
 
WHATSAPP is only in the full version.
See comparison here Light Flow - Features

I know, but whatsapp comes with its own settings for LED, before I had lightflow on it worked. It also worked with Blink and Google Notifier installed.
So I took off Blink and Google Notifier and reinstalled Lightflow and once again, the Whatsapp LED notification does not work anymore.
 
I know, but whatsapp comes with its own settings for LED, before I had lightflow on it worked. It also worked with Blink and Google Notifier installed.
So I took off Blink and Google Notifier and reinstalled Lightflow and once again, the Whatsapp LED notification does not work anymore.

I know. This is due to the way the app works and is a side effect of being able to cycle around the notification colors.

A quick overview. If you get a notification from an app and then later get another notification by default if the first notification has not been cleared it will stay flashing and the 2nd notification will not show.

The way light flow gets around this is that as soon as it's started up (either from running the app, or at boot) it sends out a dummy transparent notification. It then has control of the notifications until they are cleared. Once it's got this control it has the ability to modify the existing notification (ie change it's color). If the app didn't do this then as soon as you got an "unsupported app" put up a notification the succession would stop until you manually cleared that app.

One app does not have the ability to stop the notifications of another, so this limits what can be done. Hope that makes a little sense as to why it's like this.
 
I'm having trouble making the LED light stay solid. I have changed General-->LED flash rate to be "Always on". This however doesn't seem to alter the flash speed of the LED. This is on a non-rooted motorola atrix with android 2.2.2.
 
I'm having trouble making the LED light stay solid. I have changed General-->LED flash rate to be "Always on". This however doesn't seem to alter the flash speed of the LED. This is on a non-rooted motorola atrix with android 2.2.2.

That's a motorola thing, they just ignore the setting. My Google Nexus One also ignores it.

I am working on a version that accesses the hardware more directly so it may be possible in the future (buy may require rooting depending on the permissions your phone gives to the led files)
 
Light Flow (Lite Version, Full Version) works on the Atrix!

It allows you to pick a different color for each application when you get a notification (I set missed call to white, gmail to red, google talk to blue, and google voice to lime). It also works in succession, so if you get a notification from gmail, google talk, and a missed call it will blink red to blue to white.

No root is required. The Atrix can do about 10 or so colors.

This was one thing I missed from my Nexus One, now made possible!


Did you use Compatibility mode when you changed you LED Light?
 
Could you add support for eBuddy (IM app). It uses blue natively, but it would be nice to customize it.

Also, has anyone else seen or know about a problem with the Droid X2 displaying white with intermittent problems? Sometimes it lights correctly, but just as often it will light as a really dim purple or really dim green instead.

Great app, BTW!
 
Could you add support for eBuddy (IM app). It uses blue natively, but it would be nice to customize it.

Also, has anyone else seen or know about a problem with the Droid X2 displaying white with intermittent problems? Sometimes it lights correctly, but just as often it will light as a really dim purple or really dim green instead.

Great app, BTW!

Hi, I've tried adding ebuddy in the past, but so far it's stumped me. There's a small collection of apps that I've not yet managed to work out how to control. It's ones that have a permanent notification in the status bar. There seems to be no way to differentiate between the long running icon and new message icon. I'm keen to find another way around this, but the grey matter hasn't come up with anything yet!

I don't know if anyone with a droid x2 can answer the other issue. I know there's a similar issue on the nexus one that sometimes the notification light will stay very dimly lit instead of switching off.
 
The weird thing on my X2 is that the light never lights up white. It goes directly to one of those two dim colors. On occasion, if it was say flashing, it might flash white once, then on the next blink it would light up the dim color.
 
The weird thing on my X2 is that the light never lights up white. It goes directly to one of those two dim colors. On occasion, if it was say flashing, it might flash white once, then on the next blink it would light up the dim color.

Are you on FROYO or gingerbread?
I know FROYO on most motorola phones don't support white very well but gingerbread builds seem fine from reports I've had.
 
Andrew,

As another BB convert, this is one thing I really needed coming to Android. I'm sure you have a lot on your list to develop this, but as a general request, if you have any access to Bebuzz for Blackberry, it has some great features you could look into. For example, changing the speed of the pulse, double pulse, strobe pulse (tripe, multi-color), etc. Not sure how easy this is on Android, but it's worth asking for I guess.

P.S. still testing some functionality on the free version, and may wait until GB is released (hopefully soon!) but then will purchase for sure.
 
Andrew,

As another BB convert, this is one thing I really needed coming to Android. I'm sure you have a lot on your list to develop this, but as a general request, if you have any access to Bebuzz for Blackberry, it has some great features you could look into. For example, changing the speed of the pulse, double pulse, strobe pulse (tripe, multi-color), etc. Not sure how easy this is on Android, but it's worth asking for I guess.

P.S. still testing some functionality on the free version, and may wait until GB is released (hopefully soon!) but then will purchase for sure.

Hi,
These features are on my list to still try and get going. It was one of the first things I tried when I wrote the app (multi-color), but it's not easy due to all the variants of phones and the differing behavior. I've never even managed to get it working well on my nexus one. It's not at the top of my list of things to do, but I keep coming back to it for an odd hour or so every now and again.

The most likely features to come next are another 15 notification apps - that should be here later this week.

Then my todo list contains about 30 items, but here's a snippet of planned additions
- A wizard for setting up the controls on the first app run
- Widgets for the different notification types
- Flashing the screen for notifications (useful for those phones without leds)
- Maybe profiles and sound volume settings (this would be a big one)
The list goes on....
 
Back
Top Bottom