Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Flashlight app (call, sms)

OP Gilg@mesh

10th February 2011, 06:01 PM   |  #1  
Gilg@mesh's Avatar
OP Senior Member
Flag Stockholm
Thanks Meter: 298
 
1,814 posts
Join Date:Joined: Jan 2009
More
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
10th February 2011, 06:55 PM   |  #2  
Bajo76's Avatar
Senior Member
Flag Spreitenbach
Thanks Meter: 59
 
369 posts
Join Date:Joined: May 2009
More
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
Last edited by Bajo76; 10th February 2011 at 06:58 PM.
10th February 2011, 07:00 PM   |  #3  
Gilg@mesh's Avatar
OP Senior Member
Flag Stockholm
Thanks Meter: 298
 
1,814 posts
Join Date:Joined: Jan 2009
More
Quote:
Originally Posted by Bajo76

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
10th February 2011, 10:55 PM   |  #4  
Member
Thanks Meter: 3
 
45 posts
Join Date:Joined: 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
10th February 2011, 10:59 PM   |  #5  
Member
Thanks Meter: 3
 
45 posts
Join Date:Joined: 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
11th February 2011, 12:30 AM   |  #6  
Gilg@mesh's Avatar
OP Senior Member
Flag Stockholm
Thanks Meter: 298
 
1,814 posts
Join Date:Joined: Jan 2009
More
Quote:
Originally Posted by rborg

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!
12th February 2011, 04:18 PM   |  #7  
Senior Member
Flag Columbia
Thanks Meter: 23
 
208 posts
Join Date:Joined: Jan 2011
More
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.
13th February 2011, 08:26 AM   |  #8  
Member
Thanks Meter: 3
 
45 posts
Join Date:Joined: 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

sorry but I did not understand anything could you please explain i detail, thanks!



Sent from my Nexus S using Tapatalk
22nd March 2011, 01:19 AM   |  #9  
Member
Thanks Meter: 3
 
45 posts
Join Date:Joined: 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
22nd March 2011, 11:48 AM   |  #10  
Gilg@mesh's Avatar
OP Senior Member
Flag Stockholm
Thanks Meter: 298
 
1,814 posts
Join Date:Joined: Jan 2009
More
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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes