Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,395 Members 48,090 Now Online
XDA Developers Android and Mobile Development Forum

Flashlight app (call, sms)

Tip us?
 
Gilg@mesh
Old
#1  
Gilg@mesh's Avatar
Senior Member - OP
Thanks Meter 260
Posts: 1,661
Join Date: Jan 2009
Location: Stockholm
Default Flashlight app (call, sms)

Hi

just jumped from Nexus One to Nexus S... I'm using flashlight alerts on my Nexus One when I get a call or sms the LED starts to blink.. but it don't seem to work with the NS... is there any program that work? I'm using NoLED but thats for the screen

thanks

www.garaget.org/Gilgamesh

Why don't we cut you up into little pieces and feed you to your pooches? Hmm? And then we'll see how loyal a hungry dog REALLY is. It's not about money... it's about sending a message. Everything burns!
 
Bajo76
Old
(Last edited by Bajo76; 10th February 2011 at 05:58 PM.)
#2  
Bajo76's Avatar
Senior Member
Thanks Meter 58
Posts: 361
Join Date: May 2009
Location: Spreitenbach
I think we have to wait until Neldar ports his BLN (backlight notification) hack to nexus s. That's the only thing I'm missing from my samsung galaxy s.

it looks like this:

http://www.youtube.com/watch?v=9gc7I...e_gdata_player

HTC Blackstone, Iphone 3gs, HTC Hero, Samsung Galaxy S, Samsung Nexus S, Galaxy S2, Galaxy Nexus, Galaxy S3, Ipad Mini, Asus Transformer TF300t, Xiaomi MI2, Galaxy S4 i9505, HTC One, Nexus 5, Nexus 7
 
Gilg@mesh
Old
#3  
Gilg@mesh's Avatar
Senior Member - OP
Thanks Meter 260
Posts: 1,661
Join Date: Jan 2009
Location: Stockholm
Quote:
Originally Posted by Bajo76 View Post
I think we have to wait until Neldar ports his BLN (backlight notification) hack to nexus s. That's the only thing I'm missing from my samsung galaxy s.

it looks like this:

http://www.youtube.com/watch?v=9gc7I...e_gdata_player
ok, but I mean the camera LED

www.garaget.org/Gilgamesh

Why don't we cut you up into little pieces and feed you to your pooches? Hmm? And then we'll see how loyal a hungry dog REALLY is. It's not about money... it's about sending a message. Everything burns!
 
rborg
Old
#4  
Member
Thanks Meter 3
Posts: 44
Join Date: May 2007
I whipped up a quick Tasker task that works using Tesla to blink the LED. It is not complete. You will need to set up a new profile and context. A Wait in the Goto loop might be a good idea too. And some logic to have it stop.

Here is the xml

<class cl="Task" sr="">
<nme>light</nme>
<id>26</id>
<class cl="Action" sr="act1">
<code>444</code>
<class cl="IntArg" sr="arg1">
</class>
<class cl="IntArg" sr="arg0">
<val>2</val>
</class>
</class>
<pri>10</pri>
<class cl="Action" sr="act0">
<class cl="IntArg" sr="arg3">
</class>
<class cl="IntArg" sr="arg2">
<val>1</val>
</class>
<code>547</code>
<class cl="StringArg" sr="arg1">
<val>0</val>
</class>
<class cl="StringArg" sr="arg0">
<val>%TESLACOUNTER</val>
</class>
</class>
<class cl="Action" sr="act2">
<class cl="IntArg" sr="arg3">
</class>
<class cl="IntArg" sr="arg2">
<val>1</val>
</class>
<code>547</code>
<class cl="StringArg" sr="arg1">
<val>%TESLACOUNTER + 1</val>
</class>
<class cl="StringArg" sr="arg0">
<val>%TESLACOUNTER</val>
</class>
</class>
<class cl="Action" sr="act3">
<class cl="IntArg" sr="arg0">
<val>2</val>
</class>
<code>135</code>
</class>
</class>


Sent from my Nexus S using Tapatalk
 
rborg
Old
#5  
Member
Thanks Meter 3
Posts: 44
Join Date: May 2007
Edit: it is set up to increment a variable for every toggle of the light. I'm sure this could be better if I spent more than 3 minutes. Let me know.

Sent from my Nexus S using Tapatalk
 
Gilg@mesh
Old
#6  
Gilg@mesh's Avatar
Senior Member - OP
Thanks Meter 260
Posts: 1,661
Join Date: Jan 2009
Location: Stockholm
Quote:
Originally Posted by rborg View Post
Edit: it is set up to increment a variable for every toggle of the light. I'm sure this could be better if I spent more than 3 minutes. Let me know.

Sent from my Nexus S using Tapatalk
sorry but I did not understand anything could you please explain i detail, thanks!

www.garaget.org/Gilgamesh

Why don't we cut you up into little pieces and feed you to your pooches? Hmm? And then we'll see how loyal a hungry dog REALLY is. It's not about money... it's about sending a message. Everything burns!
 
AtomicPC
Old
#7  
Senior Member
Thanks Meter 23
Posts: 207
Join Date: Jan 2011
Location: Columbia
I think he's talking about this: https://market.android.com/details?i...ndroid.taskerm

@rborg Thanks, this looks promising. Could set up all kinds of notifications and have the LED strobe (like 3 short and 1 long for SMS) depending on the notification.
 
rborg
Old
#8  
Member
Thanks Meter 3
Posts: 44
Join Date: May 2007
Ill write a full message tomorrow with links and complete the script.
Im finding that I can use tasker instead of many standalone apps. Wrote a very clean task and widget task to reverse lookup calls not in address book on 411.ca, if any Canadians are interested. Better than any of the apps I have tried. Amazing how easily Tasker can parse html.

Quote:
Originally Posted by Gilg@mesh View Post
sorry but I did not understand anything could you please explain i detail, thanks!


Sent from my Nexus S using Tapatalk
 
rborg
Old
#9  
Member
Thanks Meter 3
Posts: 44
Join Date: May 2007
Sorry. Got lost in some other stuff and forgot about this. Latest tasker supports the led natively. Give me an exact situation and ill post a script that should work for you.

Ryan

Sent from my Nexus S using Tapatalk
 
Gilg@mesh
Old
#10  
Gilg@mesh's Avatar
Senior Member - OP
Thanks Meter 260
Posts: 1,661
Join Date: Jan 2009
Location: Stockholm
Hi

I need the LED to start blink when I get SMS and incoming calls, if this is what you mean with situation :)

Sent from my Nexus S using Tapatalk

www.garaget.org/Gilgamesh

Why don't we cut you up into little pieces and feed you to your pooches? Hmm? And then we'll see how loyal a hungry dog REALLY is. It's not about money... it's about sending a message. Everything burns!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes