Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
rundgong
Old
(Last edited by rundgong; 4th May 2013 at 11:09 AM.) Reason: add link / instructions for CM users
#1  
Senior Member - OP
Thanks Meter 379
Posts: 242
Join Date: Jun 2012
Default Illumination bar notification app

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 three devices (S/P/U) and does not require any sony libs at all:
Latest version: http://forum.xda-developers.com/show...&postcount=901
First version (post contains more info) http://forum.xda-developers.com/show...&postcount=664

--
Older solutions for solving this by installing sony libs:
Check out this post for instructions: http://forum.xda-developers.com/show...postcount=1180
For CM9 on Xperia U, read this post: http://forum.xda-developers.com/show...&postcount=459
The Following 190 Users Say Thank You to rundgong For This Useful Post: [ Click to Expand ]
 
skifyr123
Old
(Last edited by skifyr123; 12th June 2012 at 08:55 PM.)
#2  
skifyr123's Avatar
Senior Member
Thanks Meter 552
Posts: 520
Join Date: Mar 2011
Location: Blanketsburg
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
“I don’t like streaming services. There’s just nothing quite like owning the original MP3.”
The Following 5 Users Say Thank You to skifyr123 For This Useful Post: [ Click to Expand ]
 
Nimche
Old
#3  
Nimche's Avatar
Senior Member
Thanks Meter 294
Posts: 2,611
Join Date: Dec 2008
Location: San Diego, CA

 
DONATE TO ME
This is nice. Could you make it blink? and can you make it for email as well?

Thanks very much.
Sent from my White Black Sony Xperia ZL while typing right to left
--------------------------------------------------
Android 4.1.2 - rooted

(a)Flash Junky

The Following User Says Thank You to Nimche For This Useful Post: [ Click to Expand ]
 
mrsatan
Old
(Last edited by mrsatan; 12th June 2012 at 09:51 PM.)
#4  
mrsatan's Avatar
Senior Member
Thanks Meter 381
Posts: 1,450
Join Date: Jul 2009
Location: SLC
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
 
valday456
Old
#5  
Member
Thanks Meter 20
Posts: 80
Join Date: Apr 2012
only white colour :(
 
rundgong
Old
#6  
Senior Member - OP
Thanks Meter 379
Posts: 242
Join Date: Jun 2012
Quote:
Originally Posted by Nimche View Post
This is nice. Could you make it blink? and can you make it for email as well?

Thanks very much.
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.
 
rundgong
Old
#7  
Senior Member - OP
Thanks Meter 379
Posts: 242
Join Date: Jun 2012
Quote:
Originally Posted by mrsatan View Post
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
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
 
Anime13
Old
#8  
Senior Member
Thanks Meter 132
Posts: 245
Join Date: May 2012
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!!!
 
LitoNi
Old
#9  
LitoNi's Avatar
Senior Member
Thanks Meter 217
Posts: 495
Join Date: May 2012
Location: Vancouver
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

SONY VAIO Z
SONY XPERIA Z

Is your Xperia having issues? Try repairing it with Sony's PC Companion or Sony's Update Service first before posting.
Remember to back up your data before proceeding and do internal wipes [factory reset under settings] as well.

Use the latest FlashTool to flash FTF files if PCC and SUS fails to recognize or repair your Xperia.
Full tutorial on how to use FlashTool.

< Please hit the Thanks Button if I helped you.
 
mrsatan
Old
#10  
mrsatan's Avatar
Senior Member
Thanks Meter 381
Posts: 1,450
Join Date: Jul 2009
Location: SLC
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

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...