Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Lennyuk
Old
(Last edited by Lennyuk; 4th August 2011 at 12:37 PM.)
#1  
Lennyuk's Avatar
Recognized Developer - OP
Thanks Meter 935
Posts: 4,672
Join Date: Jan 2010
Location: Essex, England

 
DONATE TO ME
Lightbulb [Task] Make Stock Samsung Apps BLN Compatible

Right so now that most SGS2 kernels are using BLN, and that most users want it, it would make sense to enable stock samsung apps to utilise this feature.

SMS
Phone

Now they obviously do not call any lights as Samsung were aware that there was no LED on this phone.

This would need to be hacked probably at the smali level. Does anyone want to give it a go?

Pulser of TeamVillain said he will look into it at some point, but he is rather busy at the moment so I thought I would open up the idea to everyone.

Edit: Ok so apparently phone works, it is just SMS that needs modifying.
I am some sort of dev and a writer for LandofTechnology

Device info:
 
Current: Google LG Nexus 4, Google Asus Nexus 7,
Retired: Samsung Galaxy Note II Samsung Galaxy S III, Advent Vega (Tablet), Samsung Galaxy S II, Samsung Galaxy S, HTC Desire Z, HTC Desire HD, HTC Desire, HTC Hero


Please read my website www.lennyuk.co.uk
VillainRom Forum and IRC - Let the fun begin. Follow me @Lennyuk on twitter! - Google+ - www.lennyuk.co.uk/plus

Like what I do? help me have a coffee<----- This is a link
The Following 2 Users Say Thank You to Lennyuk For This Useful Post: [ Click to Expand ]
 
TvBTvB
Old
#2  
Member
Thanks Meter 10
Posts: 49
Join Date: Apr 2008
SMS and phone are working for me, SMS with stock/go sms and phone with BLN pro so what' s the problem?

Sent from my GT-I9100 using XDA App
 
Lennyuk
Old
#3  
Lennyuk's Avatar
Recognized Developer - OP
Thanks Meter 935
Posts: 4,672
Join Date: Jan 2010
Location: Essex, England

 
DONATE TO ME
Quote:
Originally Posted by TvBTvB View Post
SMS and phone are working for me, SMS with stock/go sms and phone with BLN pro so what' s the problem?

Sent from my GT-I9100 using XDA App
Samsung stock sms app and stock phone app do not generate any call for lights therefore BLN does not flash when you get an sms or missed call.

if you use a third party sms app then that will work, but not the stock apps.
I am some sort of dev and a writer for LandofTechnology

Device info:
 
Current: Google LG Nexus 4, Google Asus Nexus 7,
Retired: Samsung Galaxy Note II Samsung Galaxy S III, Advent Vega (Tablet), Samsung Galaxy S II, Samsung Galaxy S, HTC Desire Z, HTC Desire HD, HTC Desire, HTC Hero


Please read my website www.lennyuk.co.uk
VillainRom Forum and IRC - Let the fun begin. Follow me @Lennyuk on twitter! - Google+ - www.lennyuk.co.uk/plus

Like what I do? help me have a coffee<----- This is a link
 
grisha1
Old
#4  
Senior Member
Thanks Meter 45
Posts: 298
Join Date: Nov 2008
Quote:
Originally Posted by EarlZ View Post
Really, your probably the only one to have it working with stock sms app unless there was an update that im not aware.
Agree, stock SMS doesn't
But phone does blink.
 
slg60
Old
#5  
slg60's Avatar
Senior Member
Thanks Meter 13
Posts: 173
Join Date: Feb 2010
Location: Hannover
Yes, Phone apk is triggering. Only SMS is not working, but I also like to see modified SMS APK because 3rd party SMS APK do not fit to the design of the Samsung Software. (only my 2 centz)
Device: EX HD2, EX DHD, EX Nexus S (i9020), EX SGSII (i9100), EX Galaxy Nexus I9250 Maguro, EX HOX+, NOW Nexus 4 and Nexus 10
Nexus 4: 16GB
Android: 4.2.2
Rom: CM 10.1
Kernel: CM Stock
Recovery: TWRP 2.4

Nexus 10: 32gb
Android: 4.2.2
Rom: CM 10.1 Nightlys
Kernel: CM Stock
Bootloader:
Recovery: TWRP 2.4
 
kab89
Old
(Last edited by kab89; 4th August 2011 at 01:19 PM.)
#6  
Member
Thanks Meter 8
Posts: 67
Join Date: Jul 2009

 
DONATE TO ME
If you use the tasker app, you can set up notifications of the bln for any notification.
I have set it up for gReader, K-9 mail and a recieved text
 
Lennyuk
Old
#7  
Lennyuk's Avatar
Recognized Developer - OP
Thanks Meter 935
Posts: 4,672
Join Date: Jan 2010
Location: Essex, England

 
DONATE TO ME
Quote:
Originally Posted by ithehappy View Post
In General? Well if it doesn't work for Missed Call notification or SMS then where would it work? I am getting confused here!
android has far more notifications than just missed calls and sms.... most apps generate some form of notification (twitter...email..gmail..g+...facebook etc etc)

they all work in the free version except for Missed calls.

currently Stock Samsung Messaging app does not work at all! but we are trying to fix this.
I am some sort of dev and a writer for LandofTechnology

Device info:
 
Current: Google LG Nexus 4, Google Asus Nexus 7,
Retired: Samsung Galaxy Note II Samsung Galaxy S III, Advent Vega (Tablet), Samsung Galaxy S II, Samsung Galaxy S, HTC Desire Z, HTC Desire HD, HTC Desire, HTC Hero


Please read my website www.lennyuk.co.uk
VillainRom Forum and IRC - Let the fun begin. Follow me @Lennyuk on twitter! - Google+ - www.lennyuk.co.uk/plus

Like what I do? help me have a coffee<----- This is a link
 
neldar
Old
#8  
Recognized Developer
Thanks Meter 322
Posts: 566
Join Date: Jul 2010
To obtain led notification for a samsung app you need to do the following:
Locate the place where the notification is instantiated and add the necessary flags to the notification. And secondly you need to locate the place where the screen is turned on, either a full or dimmed wakelock (bad implementation) or a call to setKeepScreenOn() or some parameter in WindowManager.LayoutParams is set.
- Backlight Notification (BLN) mods for Samsung Galaxy S i9000 - led notifications by touchkey backlight
- BLN control - blinking, call notification, scheduler, locale plug-in(s) and more
- SGS kernel flasher - flash a kernel from any .tar or .zip within android on Samsung i9000, Captivate, Fascinate, Vibrant and more.

Follow me on twitter.
The Following 2 Users Say Thank You to neldar For This Useful Post: [ Click to Expand ]
 
ebliss
Old
#9  
ebliss's Avatar
Senior Member
Thanks Meter 52
Posts: 494
Join Date: Oct 2005
In the meantime while we wait for TeamVillain to modify the stock messaging app, you can make use of Tasker in combination of BLN pro to activate blinking lights when SMS is received. http://forum.xda-developers.com/show....php?t=1203005

I would suggest you read what is posted by the OP and do the profiles manually.

PS. this recommendation is for people who knows what is Tasker, BLN Pro and more importantly, liblights.so.
Advice on ROM flashing:
Looking for the best ROM?

Want to sync files between computers and mobile devices with 5GB of free storage?

Samsung Galaxy Note

Samsung Galaxy S2 (retired): VillainROM with VRTweaks

HTC HD2 (retired): Windows ROM: kwbr | Android ROM: Portadroid SuperRAM

"Give a man a fish, he chokes on the fishbone and die.
Teach a man to fish, he falls into the sea and die."

 
Hacre
Old
(Last edited by Hacre; 5th August 2011 at 03:16 PM.)
#10  
Elite Recognized Developer
Thanks Meter 2010
Posts: 1,302
Join Date: May 2010
Location: Northwich

 
DONATE TO ME
THIS IS THE CURRENT SITUATION WITH BLN AS OF 2011-08-05:

You need a modified liblights. If you don't know what this is, start using the search function. If you still can't find it after using the search function, you're too stupid to even be attempting any of this, stop immediately or find a custom ROM that provides a modified liblights.

You need a modified kernel.

You need the BLN control application. To get blinking lights or notifications from missed calls in the stock phone app, you need the Pro version.

As mentioned IN THE ORIGINAL POST, the stock SMS app does not trigger BLN by default so you need a third party SMS app such as Handcent, or an app such as Tasker to set it up.

The following will be gibberish designed to make this post show up in most (logical) forum searches for how to get BLN working on the SGS2.

Expected search terms:

I am a giant moron who just cannot figure out how to get BLN working on my SGS2 Samsung Galaxy S II 9100 GT-I9100 BLN kernel how do I make BLN work what is liblights ahh life is so unfair expecting me to figure things out for myself my mummy told me I was a special snowflake that can do anything I set my precious little mind to I am her special soldier and life should just provide everything I want on a plate. BLN. BLN kernel. BLN liblights. BLN SMS. BLN. BLN. BLN.
Ninpo


- @NinpoUK on Twitter - My SGS2 Kernel Sources

Donations are gratefully received and never required.

 
Post Reply+
Tags
bln, dev, stock app hacking
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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...