New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
ztracenyDen
Old
(Last edited by ztracenyDen; 5th November 2012 at 09:04 PM.) Reason: v1.4
#1  
Member - OP
Thanks Meter 35
Posts: 90
Join Date: Jun 2009
Lightbulb [APP] Optimus 3D touch LED notifications

Hi,
I've modified Martin Börjesson's app to work on our beloved Optimus 3D.

What does it do, you ask?
It makes the LED under touch buttons blink in interval you select on several events - unread Gmail, SMS or missed calls. Even more, it can listen to notifications generated by any other application.
The app:
  • can make the LEDs under touch buttons blink after there is a notification (new SMS, mail, instant message, etc.)
  • can keep the LEDs lit while the screen is on (if you like to keep them shining)
  • can decrease the timeout after keypress (if you don't like the LEDs shining for so long after keypress)


Requirements:
  • superuser rights (root)
  • something to install apk

Installation
1) Download APK from link: O3D LEDs v. 1.4
2) Install with your favourite file manager

After installation it will ask you to grant root rights. It is necessary to ALLOW superuser rights.

Known issues:
  • Timeout after keypress reacts only on the first keypress. If there are any other keypresses during the default system timeout (~3s), the LEDs won't be lit. (can't be fixed)
  • LEDs fading doesn't work (and probably never will)
  • Change of brightness doesn't work (and probably never will)
  • according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."

TODO:
  • Fading
  • More complex scenarios for LEDs and vibrations

Changelog:
v1.4
added: support for ICS (SU760 port by xbsall
important: you have to check Settings - Display - Front key light - Turn on front key light.

(there is no need to upgrade from 1.3 if you don't have ICS on P920 or SU760. It won't allow the upgrade anyway, because I screwed up)

v1.3
added: simple widget

v1.2.4
added: you can now set the leds' "after keypress" timeout

v1.2.3
better way to check for superuser (thanks go again to Martin Börjesson)

v1.2.2
fixed: FC on start

v1.2.1
fixed: LEDs sometimes stayed on when the screen turned off

v1.2
added: LEDs can stay on while the screen is on

v1.2beta
fix: battery issue
removed: accelerometer something
removed: fading options

v1.1
added O3D support

Big thanks to Martin Börjesson for making his app open-source.
The Following 21 Users Say Thank You to ztracenyDen For This Useful Post: [ Click to Expand ]
 
jechus
Old
#2  
jechus's Avatar
Member
Thanks Meter 29
Posts: 56
Join Date: Feb 2010
Location: Sevilla la nueva
Thanks, I'll try
 
gewuerzwiesel1977
Old
#3  
gewuerzwiesel1977's Avatar
Senior Member
Thanks Meter 74
Posts: 762
Join Date: Jan 2009
Location: Weaslhausen
thx alot...just what i was looking 4!!

sent from the 3rd dimension with my optimus
Note2 - JellyBam - Devil
 
mmace
Old
#4  
mmace's Avatar
Senior Member
Thanks Meter 62
Posts: 725
Join Date: Feb 2009
Location: Leeds
Installed, can't for the life of me get it working
the "test" works fine, it has super user privileges etc, just no idea what needs activating and what doesn't, by default nothing works
 
ztracenyDen
Old
#5  
Member - OP
Thanks Meter 35
Posts: 90
Join Date: Jun 2009
Well, it should work right after installation for Missed Calls, SMS and GMail... Maybe some task manager kills the app? Maybe you don't have active notifications, or you are using different app for messages - it can be added to notifications ("notifications" - "select monitored activities" and find the app you are using).
Also keep in mind that there is default waiting time 4 seconds before the notifications start (it can be changed in settings).
The Following User Says Thank You to ztracenyDen For This Useful Post: [ Click to Expand ]
 
mmace
Old
#6  
mmace's Avatar
Senior Member
Thanks Meter 62
Posts: 725
Join Date: Feb 2009
Location: Leeds
Quote:
Originally Posted by ztracenyDen View Post
Well, it should work right after installation for Missed Calls, SMS and GMail... Maybe some task manager kills the app? Maybe you don't have active notifications, or you are using different app for messages - it can be added to notifications ("notifications" - "select monitored activities" and find the app you are using).
Also keep in mind that there is default waiting time 4 seconds before the notifications start (it can be changed in settings).
Hi mate, I use Handcent and Gmail (turned off missed calls)
it doesn't work with them (tried with emails)
However, Google+ works fine even though I never enabled that!?

I don't use task killers
 
ztracenyDen
Old
#7  
Member - OP
Thanks Meter 35
Posts: 90
Join Date: Jun 2009
Ok, according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."

If you've activated the Lights notification, then the LED notification will work for every app that wants to notify by LED (maybe your Google+).
The Following User Says Thank You to ztracenyDen For This Useful Post: [ Click to Expand ]
 
mmace
Old
#8  
mmace's Avatar
Senior Member
Thanks Meter 62
Posts: 725
Join Date: Feb 2009
Location: Leeds
Quote:
Originally Posted by ztracenyDen View Post
Ok, according to Martin Börjesson "Gmail 2.3.5+ no longer works with the built-in Gmail-check. To get it to work again Gmail has to be disabled in Notifications and then added as a monitored activity (Notifications -> Monitored activites -> Gmail)."

If you've activated the Lights notification, then the LED notification will work for every app that wants to notify by LED (maybe your Google+).
yeah, just got my first text of the day and it worked, cheers
 
italian_funatic
Old
(Last edited by italian_funatic; 15th August 2011 at 11:15 AM.)
#9  
Junior Member
Thanks Meter 0
Posts: 4
Join Date: Aug 2011
If LG - hopefully with a forthcoming update - makes writable the LED's file system instead of keeping it as read only, could we use your build without root/superuser rights, isn't it?
 
ztracenyDen
Old
#10  
Member - OP
Thanks Meter 35
Posts: 90
Join Date: Jun 2009
Yes, it should work without root then.