FORUMS

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

Which OEM Would You Like to Help?

Most manufacturers have moments of greatness and moments of decadence, and in the past few years … more

Root T-Mobile S6/Edge on 5.1.1 Without Tripping Knox

If you purchase phones from a carrier, you may be no stranger to the difficulties … more

IonVR Coming Soon, HTC M9 Dev Edition Gets Android 5.1 – XDA TV

The HTC M9 Developer Edition has received Android 5.1. That and … more

Flashlight app (call, sms)

1,951 posts
Thanks Meter: 338
 
By Gilg@mesh, Senior Member on 10th February 2011, 05:01 PM
Post Reply Subscribe to Thread Email Thread
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, 05:55 PM |#2  
Bajo76's Avatar
Senior Member
Flag Spreitenbach
Thanks Meter: 59
 
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 05:58 PM.
10th February 2011, 06:00 PM |#3  
Gilg@mesh's Avatar
OP Senior Member
Flag Stockholm
Thanks Meter: 338
 
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, 09:55 PM |#4  
Member
Thanks Meter: 3
 
More
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, 09:59 PM |#5  
Member
Thanks Meter: 3
 
More
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
10th February 2011, 11:30 PM |#6  
Gilg@mesh's Avatar
OP Senior Member
Flag Stockholm
Thanks Meter: 338
 
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, 03:18 PM |#7  
Senior Member
Flag Columbia
Thanks Meter: 26
 
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, 07:26 AM |#8  
Member
Thanks Meter: 3
 
More
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, 12:19 AM |#9  
Member
Thanks Meter: 3
 
More
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, 10:48 AM |#10  
Gilg@mesh's Avatar
OP Senior Member
Flag Stockholm
Thanks Meter: 338
 
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