[TASKER][PROJECT] Local Voicemail “Answer Machine” - Android Apps and Games

THREAD INDEX:
I. INTRODUCTION
II. EXPLANATION - WHAT DOES THE PROFILE DO?
III. TECHNICAL EXPLANATION
IV. INSTALLATION GUIDE
V. FAQ
VI. THINGS TO DO IN THE FUTURE
Second Post. CHANGELOG
#_____________________________#​
I. INTRODUCTION
I am a fan of Tasker as it offers lot of possibilities and makes life better [emoji14]
I learned how to use Tasker basically from myself but @Rsroms gave me the basic knowledge to use this awesome app!
If you are new to Tasker and you wanna learn how to get started i reccomend @brandall Guide (Link to the thread: [TUT] The Ultimate Noob/Beginners Guide to Tasker )… you will learn how to make basic profiles or even intermediate profiles.
However i have created this thread to show off and explain one of my profiles… this one is called “Answer Machine” and it is a “local” implementation of VoiceMail in Tasker. I hope you find this thread useful !
II. EXPLANATION - WHAT DOES THIS PROFILE DO?
It’s simple. If a call is not being answered in about 15 seconds (or what you want) i suppose you are not near to the Smartphone so Tasker will automatically answer and play a pre-recorded voice saying for example:
“Record your voice after the *beep*”
When the pre-recorded voice has totally been played Tasker will start to record the caller voice and when the caller closes the call the recording will be saved in a known folder (Voicemail/Recordings).
As i unlock my smartphone a scene will appear where i can see who called me. Here is an example:
Mike - +39 xxx xxx - 20:14 (24 Hour format)
Obviously i will offer the possibility to change:
Time that Tasker has to wait. between the start of the incoming call and Time when it gets answered
The pre-recorded voice
In short now i will write all the actions that will be performed on specific events.
EVENT: Incoming call
ACTIONS TO PERFORM:
Setting %GotCall to 1
How much time has Tasker to wait? -> Wait x (choose your own wait time) seconds.
Answer call
Wait 500 milliseconds
Activate Speakerphone (I have to activate it as there is not the possibility to stream directly into the microphone)
Set the higher volume possible
Play the pre-recorded voice (It will be outputted using the SpeakerPhone)
Wait until the pre-recorded voice message finishes (I have made a recording of 8 seconds so i will set 9 seconds as Tasker's waiting time)
Disable SpeakerPhone (I don’t need anymore the SpeakerPhone)
Now the recording will get started
Write a txt file with: Caller name, Caller number and time (Using append)
EVENT: Call ended
ACTION TO PERFORM:
Stop recording
I do not need nothing else for the “Core” of the voicemail. Now i have to write a summary for the event “Screen Unlocked”... a simple event that occurs when the Screen gets unlocked.
EVENT: Screen Unlocked
ACTIONS TO PERFORM:
Check if %GotCall does not match to 0
(If the condition above is verified then do..) Read The Txt File and load it on %Read variable
Show scene (A scene that allows to see who called you)
Set back %GotCall to 0
III. TECHNICAL EXPLANATION
This project consists of:
1 State “Incoming Call” with: “Voicemail Enter” (enter task) and “Voicemail” (exit task)
1 Event “Screen Unlocked” with “Gotten Call” as task
Now i will try to explain detailed as possible the whole project.
INCOMING CALL (State):
It is a profile which gets enabled when there is an incoming call.
The state i have used to check when a call comes is: State -> Phone -> Call and setting the Type to “Incoming”.
Voicemail Enter (Task):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What i have used is simple and to get everything working i did not use nothing else than Tasker!
As you can see in the Screenshot there are 11 actions.. in border i will write the right name of the action so you can learn what it does:
Variable Set - Create and set to 1 a variable called “%GotCall”. This matter that i’ve got a call and it is useful for next steps
Wait - Setted to 15 seconds by default. This is the time that Tasker has to wait before answer the call … so set it as you want.
Take call - Just a simple action. It answers to the call
Wait - Already explained. In this case i have setted it to 500 milliseconds i need it to activate the SpekerPhone.. we have to consider some Phone latencies.
Speakerphone - Simple action. It allows to turn on or off the Speakerphone :’)
In-Call Volume - Is it necessary to explain? It adjust the in-call Volume [emoji14]. I need it because as i have explained before there is not the possibility to stream a pre-recorded voice directly.
Music Play - It allows to play a music file… or even a recorded message [emoji14]. We have to set the Stream to “Call” and in File the message we want to play
Wait - We will set how many second lasts the Message . If the recorded message is long 6 seconds set this action to 6 seconds and 500 milliseconds.
Speakerphone - Let’s set the speakerphone off as we do not need it anymore
Record Audio - It allows to start recording a call. We can set a specific name… I have setted it to Voicemail/Recordings/%CNAME - %CNUM - %TIME -> where %CNAME stands for “Caller Name”, %CNUM for “Caller Number” and %TIME for “Time” [emoji14]
Write File - It allows to create and write inside a TXT file. I have used it to create something like a log useful for the next steps (I will show this Txt file on the Event “Screen Unlocked”)
Voicemail Exit (Task):
As you can see this task is made just by one fundamental action “Record Audio Stop”.
This action allows to stop the Call Recording triggered before. If you do not add this action Tasker will continue to record NOTHING !
Display Unlocked (Event):
This event gets triggered when you unlock the smartphone and i will use it to show with a simple Scene (Also made with Tasker) the Log previously made using the function “Write File”.
So what i did is to create a profile using Event -> Display -> Display Unlocked and i have attached to it a simple task that i have called “GottenCall”.
GottenCall (Task):
GottenCall is a task made up of 4 simple action. Let’s take a look of what they do
If - It allows to check a condition. I have used it to check if %GotCall differs from 0.. if so means that i’ve got a call!
Read File - Simple action that allows to load a whole Txt file inside a variable. The parameters that you have to set are two: File (Which is destination folder) and To var (Which is the Variable you wanna use for loading the Txt file)
Show Scene - This action shows a scene previously made. I have also changed Display As to Activity, Full Window.
Reset
Voicemail Graphic (Scene):
As i said before i have also made a Scene that looks like this screeshot:
I have used a simple Text Area setting as Text (source) the variable %Read and a simple button with onTap action -> Destroy Scene - An action that closes the Scene.
IV. INSTALLATION GUIDE
Requirements:
Android 2.3+
[/B][/COLOR]
Tasker (Make sure to have the latest version)
Did you find problems during the installation? Check my Tutorial on YouTube...everything will go right! VoiceMail Project Installation Video Tutorial!​
Step by step guide:
Download the project from the thread (you can find it below)
Now open Tasker, this screen will appear
Click on the button Menu and open “Preferences”
Uncheck the Beginner Mode -> This will allow you to import Projects
Go on the main screen of Tasker and click on the Home button
Click on “Import” and go into the folder where you have VoiceMail.prj.xml -> If you have downloaded it using your Smartphone then it is located inside the "Download" folder
As they get imported deactivate them using the toggle available:
Open Es File Explorer and create 3 folders on the root:
-Voicemail
-Voicemail/Recordings
-Voicemail/Speech
Now record your own Message using a normal recording App -> I have used the Preinstalled App inside my Note 4
As you have finished to record move the recorded voice to the folder Voicemail/Speech
Open Tasker and go to the “Task” tab
Open “VoicemailEnter” and then tap on the action number 7. Here you have select your recording. To select the recording click on the magnifier lens and browse to Voicemail/Speech and click on the pre-recorded file! Once you have selected it tap on the top-left corner (As you are returning back).
Go back and open action number 8. Here you have to set how much time is long your pre-recorded voice. So set down Seconds the right time
Go on the main screen of tasker (Profiles) and activate back all my profiles !
All done, test it and let me know how it works !
V. FAQ
Here you can find the frequently asked questions.
Q: Why Tasker doesn't answer the call?
A: Tasker allows to answer Call using a simple action called "Take call" this one doesn't work on Lollipop and in some others devices. If you are running Lollipop you will not have this problem as i perform a Android Version check... if you have a lower Android version than make sure you grant all the permission needed to tasker. If the problem persists:
Enter inside the task "VoiceMailEnterKK&Lower"
.Delete the task number 3
Add a new action Code -> Run Shell and inside Command put: send keyevent 79
Move this action down the 2nd one.
Q: I have Miui and the call doesn't get answered.
A:
VI. THINGS TO DO IN THE FUTURE
Try to find a workaround for Android 5+ -> FOUND !!!
Improve User Interface on Screen Unlocked
Try to implements something to directly stream inside microphone
I hope you liked my thread… any advice are welcome.
Don’t forget to give me a thumb up :good: if you liked my work ​
-

Changelog:
-Added support for lollipop
-Fixed exit task for Incoming Call State
-Added Check Android task which checks for the SDK version.

Reserved #2 :good:

Welcome Aboard.

Which option decides the time to wait before my call gets transferred to voicemail ?
Edit: Sorry. Its option 2.
---------- Post added 09-04-2015 at 12:03 AM ---------- Previous post was 08-04-2015 at 11:49 PM ----------
Not working. It can't answer the call. Phone keeps ringing..

a.broken.star said:
Which option decides the time to wait before my call gets transferred to voicemail ?
Edit: Sorry. Its option 2.
---------- Post added 09-04-2015 at 12:03 AM ---------- Previous post was 08-04-2015 at 11:49 PM ----------
Not working. It can't answer the call. Phone keeps ringing..
Click to expand...
Click to collapse
Yes, Maybe i have To explain it better!
Anyway does it work for you?
Edit:
Which Android version do you have?
It doesn't work on Android 5+

It can work with Android 5+ LP as well. You simply need a standalone plugin for it available at PS.
Btw its same as you referred earlier on " Call Monitor Locale Plugin".
Very Nice & useful info. And well explained as well (Y)

Rsroms said:
It can work with Android 5+ LP as well. You simply need a standalone plugin for it available at PS.
Btw its same as you referred earlier on " Call Monitor Locale Plugin".
Very Nice & useful info. And well explained as well (Y)
Click to expand...
Click to collapse
I have to install Lollipop to find a workaround. Anyway that plugin "Call Monitor Local Monitor" automatically answer to the call as there is an incoming call. Maybe i will use intents and something else

CoolJoseph96 said:
Yes, Maybe i have To explain it better!
Anyway does it work for you?
Edit:
Which Android version do you have?
It doesn't work on Android 5+
Click to expand...
Click to collapse
I am on kitkat 4.4
Maybe it does not work in MiUi ... It can't answer the call.
Also I am kind of noob to tasker. May be I am doing something wrong. After doing all the steps, i turn the toggle for all three profiles to on mode. But in notification, tasker says, no profile active.

a.broken.star said:
I am on kitkat 4.4
Maybe it does not work in MiUi ... It can't answer the call.
Also I am kind of noob to tasker. May be I am doing something wrong. After doing all the steps, i turn the toggle for all three profiles to on mode. But in notification, tasker says, no profile active.
Click to expand...
Click to collapse
Could you send a screenshot of the Task "Voicemail Enter"?
Anyway some tasker's functions are not allowed on every ROMS.

Check them out

a.broken.star said:
Check them out
Click to expand...
Click to collapse
It seems strange as you have Take Call. Take call is an action that answer the call. I hope you have the latest version of Tasker... I Also had some problems with profiles in General. Try to make a simple profile. For example:
-State: When connected to WiFi
Add an enter task with "Open app" action!
Let me know.. Thank you!

I tried to create a simple profile. To turn off data when wifi is connected. And its working when i push the play button inside the task i.e. Mobile data turns off. Which means tasker can handle the thing. But when i connect to wifi, mobile data does not turn off. That means automatic working of profiles is not working. Maybe its because, notification of tasker still says 'no active profiles' in the notification shade
---------- Post added at 08:11 PM ---------- Previous post was at 08:05 PM ----------
Sorry. My simple profile is working. I made a change to it, to turn off mobile data when i open calculator. And its working fine..

a.broken.star said:
I tried to create a simple profile. To turn off data when wifi is connected. And its working when i push the play button inside the task i.e. Mobile data turns off. Which means tasker can handle the thing. But when i connect to wifi, mobile data does not turn off. That means automatic working of profiles is not working. Maybe its because, notification of tasker still says 'no active profiles' in the notification shade
---------- Post added at 08:11 PM ---------- Previous post was at 08:05 PM ----------
Sorry. My simple profile is working. I made a change to it, to turn off mobile data when i open calculator. And its working fine..
Click to expand...
Click to collapse
Okay let's check if Take call doesn't work!
1. Make a Call to your Voicemail Phone :') 2. Don't answer the call... But open tasker. Move to task tab and open "Voicemail Enter"
3. Make a Long press on the action "Take call" then click on The play button situated on the left bottom!
If you get the call answered then we have To check why the profile is not getting enabled on incoming call event!

Okay, i asked my friend to call me. He called, while the phone was ringing, i switched to tasker, and did what you said. And voila, call got answered. So i guess the profile is not getting activated on incoming call event..

a.broken.star said:
Okay, i asked my friend to call me. He called, while the phone was ringing, i switched to tasker, and did what you said. And voila, call got answered. So i guess the profile is not getting activated on incoming call event..
Click to expand...
Click to collapse
So Take Call works perfectly... As I said before check if you have the latest Tasker Version!
There is a problem on the incoming call feature... Did you try to close tasker and Shutdown the screen? After this try to get a call

Hey, its working now.. Thanx a lot. It was some permission problem. I added tasker to trusted apps and it started to work..
Awesome work.. It will be magic if somehow you can make the speech file play through the audio up link. Because its not properly heard at the other end when played through the speaker.. Still.. Hats off to you...

a.broken.star said:
Hey, its working now.. Thanx a lot. It was some permission problem. I added tasker to trusted apps and it started to work..
Awesome work.. It will be magic if somehow you can make the speech file play through the audio up link. Because its not properly heard at the other end when played through the speaker.. Still.. Hats off to you...
Click to expand...
Click to collapse
Could you share your solution and what ROM are you running? I'll add it in OP!
Anyway Yes... i am trying to send the Audio directly with no results yet ... I wanna ask you something.. Does the recording plays with SpeakerPhone??

Rsroms said:
It can work with Android 5+ LP as well. You simply need a standalone plugin for it available at PS.
Btw its same as you referred earlier on " Call Monitor Locale Plugin".
Very Nice & useful info. And well explained as well (Y)
Click to expand...
Click to collapse
Can you link to that plugin? Sorry - can't find it.
I'm on LP 5.0.2 and "Take call" action is not available.

remiotte said:
Can you link to that plugin? Sorry - can't find it.
I'm on LP 5.0.2 and "Take call" action is not available.
Click to expand...
Click to collapse
Call Monitor Tasker Plug-in
I'll explain what does that plugin do.
It's a simple plugin that allows you to trigger some action when call starts or ends. So this plugin will not allow you to replace the task called "Take Call" as you have to manually answer to the incoming call to get the profile activated. However i'm trying to figure out what i can do to get this Project also working on Lollipop. I guess... i have to Install Lollipop on my Note 4 to get started !

Related

[XDA DEV] Tasker|The Ultimate Lost/Stolen Device Recoverer! V1 [AKA SHERLOCK DROID!]

PLEASE SUBSCRIBE TO THIS THREAD (in thread tools above) TO KEEP UP MOMENTUM! LET'S GET THIS DONE!
I had a PM from the user aelsharawi recently, who asked me to update the ‘locate my phone’ profile on the Tasker wiki. Never one to step away from a challenge, I started pondering and then pondered a little further and decided that this is something I really need community input on to plan and construct.
Losing your device feels like losing a limb or a close family member and instead of sitting by the home phone (if anyone still uses one!) waiting for the police to call to say they have recovered it, wouldn’t it be better to know that you can still control it remotely and in the mean time it’s working hard to return itself to you, like a little, lost, soft, cuddly puppy… Ok then…
Even if you don’t yet use Tasker, please do contribute and tell me what you would like your device to do! Grab your free trial from here
Continue to read for my initial ideas and the up-to-date community input!
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
Whilst pondering, I realised that should you be separated from your device, you may not always want to take the same action.
For example, if you know you’ve just left it on your seat on the train that is chugging out of the station, requesting Tasker to wipe all of your data and massively overclock the CPU so much that it sets on fire, probably isn’t what you’re after. Alerting a nearby passenger that it’s been left and a small reward is on offer for its safe return, would perhaps increase your chances of seeing it again.
Alternatively, if you’re pretty sure your device has just been swiped, a polite message of pretty please return me, hoping to play on the conscience of a thief, may not do the trick. A sleuth mode would be more appropriate here, where the device starts to mimic being asleep/off whilst all the time updating you of its location amongst other things.
Different eventualities such as the above made me realise I would need more than one profile for this, perhaps even a precautionary profile, so if I knew I was going out to get completely wasted, I could set the device to check it was still in my possession at regular intervals!
Anyway, you get the general idea… on to my list of what Tasker could theoretically do to help:
1) Play very loud music
2) Display a message of death threats
3) Display a nice message
4) Display a reward message
5) Display a current location message
6) Speak instructed text
7) Email/text location
8) Lock
9) Wipe
10) Encrypt
11) Mimic being off/dead
12) Partially disable
13) Disable all buttons
14) Brick
15) Change splash Screen (I think?)
16) Change Boot animation
17) Shine torch
18) Take a picture
19) Text/email that picture
20) Display that picture (!)
21) Bluetooth the picture to nearby devices
22) Bluetooth a file/message to nearby devices
23) Send call logs
24) Block calls
25) Send text logs
26) Make it call the local police station and then speak!
27) Turn on a nearby TV
28) Show pornography
So, the above are a load of possible things that popped into my head (and you can see I was running out of ideas near the end). I’m sure you can help me think of plenty more…?
Sadly, the one thing that isn’t possible is to make the device boot if it is off… Yes I know everyone’s Nokia could do this back in 1982, but sadly not our dear Androids…
Over to you folks, let me know your thoughts!
Please respect the forum rules and belittle other people’s ideas and opinions as much as possible. It’s so much more fun that way…
Just kidding!
Your ideas
29) Send voice recording
30) Video Call
31) Activate Mic (sleuth make/answer call)
32) Disable USB/recovery/fastboot (unlikely) - Anyone know if these can be disabled by deleting certain system files?
33) Request thief's personal info! (see #39)
34) React to movement
35) Set to speaker phone and make call
36) Request to insert charger!
37) Auto-dial a fake contact of very HOT girl and then activate forward facing camera!
38) Notify of new number is SIM is changed!
39) Fake 'initial Set-up' mini program, that Tasker will send out the input from <-- Volunteer to write this?!
40) Gestures active to tell when phone is tilted to take picture with rear camera (not a problem for front facing)
41) Mute camera sound and disable flash for sleuth mode
42) Everyone start posting pictures of HOT girls that we can use as the fake contact! (don't pretend you have real ones)
Example profile added to post #3 for ideas!
Sherlock droid!
Thanks for all of your encouragement and feedback so far, please keep it coming, it's the only way to get this right. The best ideas are often the most simple, so please do not be afraid to post. If anyone flames you, they'll be struck off my 'Tasker help list'!
V1 BETA Set-up (Of course completely open to change by your input)
There will be four contexts for you to activate:
SherlockGreen
Situation Example: Device left moments ago on a train or in a restaurant. Drastic action is not required. Hopeful of good and honest Samaritan retrieving device.
SherlockAmber
Situation Example: Honestly, I'm not sure! You tell me....
SherlockRed
Situation Example: Device has definitely been stolen. Voluntary recovery unlikely. Ultra sleuth recovery mode and potential device wipe/brick.
DrWatson
Situation Example: You've woken up still drunk. Can't remember anything (apart from your 'Sherlock Codes'!). Can't find your phone. It could just be under the sofa. Perform single adhoc actions such as manual loud tones and vibrates etc etc.
Work in Progress
Preparation
* Make sure GPS and Wifi are checked in Menu/Settings/Location & Security (Google tells us that in Gingerbread no additional resource is used)
* Download SherlockGreen.zip from post #3
* Create a folder: /sdcard/Tasker/Sherlock
* Use the tone in the .zip and drag into the /Sherlock folder or use and rename your own SherlockGreen.ogg (if using .mp3 change action #13 & #16 in the task SherlockGreen
* Copy any picture into the /Sherlock folder and rename SG-ContactWallpaper.jpg (adjust in above task, action #9 if necessary)
* For testing, enter your own number in:
SherlockGreen - Action #1, #7
SG-FoundOk - Action #4, #7
SG-FoundNo - Action #3
* For full testing, set networks to 2g only and data connection and wireless off.
Don't forget to run (by pressing 'test') SherlockVarClear first and then after each test you run.
Either press 'test' in SherlockGreen , press done and apply and return to the home screen or text yourself sherlockgreen123
SherlockGreen V1 BETA Explained
SherlockGreen V1
SherlockGreen
* Kicked off by received text from any number with content 'sherlockgreen123'
* First priority to alert your Sherlock contact(s) that you've lost your device and they need to be ready to let you know what information they receive.
* Switches on 3g preferred and data connection (if they were off) and uses them and GPS to get a location.
* Sends location via text to Sherlock Contact. Time out set to three minutes in case of no fix.
* Wallpaper changed to show number 'Samaritan' is to dial.
* Screen time out increased.
* Display Brightness increased.
* Alert sound kicks off x 2
* Speech alerts Samaritan to pick up your phone x 2
SG-FoundMenu
* Activated during the above
* Screen prompt to 'PRESS HERE'
* If pressed, SG-FoundOk kicked off
* If not pressed, SG-FoundNo kicked off
SG-FoundOk
* Stops alert and speech to prevent being off-putting!
* Sends SMS to confirm manual interaction with screen at SG-FoundMenu (Battery level added in V2)
* Speech thanking Samaritan
* Another GPS location sent by SMS
* Screen alert asking them to enter their number if they'd prefer.
* Wait task ticks down...
* If no Samaritan contact perform task XXXXX <-- next stage
SG-FoundNo
* Instructs to restart SherlockGreen
* IF created loop variable %SHERG is less than 4 (to limit repeats)
* Another GPS location sent by SMS (SherlockGreen will have already sent 3)
* Perform task XXXXX <--- Next stage
SherlockVarClear
* To clear the created variables for testing purposes.
Testing thoughts and requests
* A low resolution SG-ContactWallpaper.jpg is needed that fits above and below the menu task and is easy for us all to edit in basic 'paintshop' and the menu background too VOLUNTEER NEEDED!
* Should SherlockGreen allow the device to be unlocked and load up the dialler if Samaritan screen interaction is made in SG-foundMenu??
* Need the most alerting alert of alert tones evar! Upload your suggested tone in a .zip!
Sherlock Green V2?
(* Battery level added in V2
* Should the SMS volume be muted and notification switched off to avoid alerting 'thief'?)
Dr Watson V1 BETA
Preparation
* Make sure GPS and Wifi are checked in Menu/Settings/Location & Security (Google tells us that in Gingerbread no additional resource is used)
* Download DrWatson.zip from post #3
* Create a folder: /sdcard/Tasker/Watson
* Use the tone in the .zip and drag into the /Watson folder or use and rename your own drwalert.ogg (if using .mp3 change action #4 in the task DrWAlert
* For testing, enter your own number in:
DrWLocation - Action #6
* For full testing, set networks to 2g only and data connection and wireless off.
DrWatson V1 BETA Explained
DrW-PopUp
* Purpose - display received text content as a pop-up on the screen
* Activated by the receipt of an SMS (from any sender) containing the text 'drwpop'.
* Note: In the context it states 'drwpop*'. The '*' is a wild card, so Tasker will allow further body text to be included in the same SMS.
* SMS body text (%SMSRB) is split at '###' until '###'
* Your SMS must therefore be 'drwpop ###THIS WILL DISPLAY ON THE SCREEN###'
DrW-Alert
* Purpose - Vibrate, torch and sound for localised searching.
* Activated by the receipt of an SMS (from any sender) containing the text 'drwalert'.
* If Tasker is handing your notification sounds, a 5 second wait is required in action #1 to prevent the alert sound being killed.
DrW-Location
* Purpose - Adhoc location request
* Activated by the receipt of an SMS (from any sender) containing the text 'drwlocation'.
* GPS & NET locations sent with accuracy [V2 Google maps link with pointer sent for both].
* Battery status included.
DrW-Tasker
* Purpose - Populate the created variable %DRWVAR
* Activated by the receipt of an SMS (from any sender) containing the text 'drwtasker'.
* SMS body text (%SMSRB) is split at '###' until '###'
* Your SMS must therefore be 'drwtasker ###1###'
DrW-Var
* Purpose - Triggered when %DRWVAR is set to '1' to perform actions.
* Note: Actions are up to you. Examples included are to set profile status 'XX' to off and set profile status 'XX' to on. These actions could be to turn on battery saving profiles you have or to turn off battery intensive profiles or profiles you consider may conflict with future actions such as notification control or to cease data connectivity under certain conditions. Turning off the sms preview in the notification bar and silencing the sms notification would be an obvious choice.
Testing thoughts and requests
As a reminder, 'Dr Watson' is supposed to be when you're not certain where your device is and are not overly concerned. That said, the ad hoc functions may well be useful under 'Sherlock circumstances'.
It is theoretically possible (a statement used when I haven't quite fathomed out how yet!) using a combination of DrW-Tasker & DrWVar that you can request Tasker to SMS/e-mail you any requested variable. For example, if you populate a created variable %DRWVAR-REQUEST with the body text of '###%UPS###' - you could then request that another created variable is set to %DRWVAR-REQUEST (= %UPS) and an SMS is sent containing %DRWVAR-REQUEST-POPULATED which is %UPS! You therefore receive a text with 'up time in seconds...' You with me....
I'm starting to forget my 'codes' already!
----------------------------------------------------------------------
----------------------------------------------------------------------
Over to you for a while now folks. Please test and provide your complete feedback. All I've done so far can be deleted if you think it's heading in the wrong direction and I won't be bothered - let's get this right...
To help by searching this thread PLEASE ADD A TITLE TO YOUR POSTS detailing the task or context you are referring to - otherwise 'general suggestion' etc etc.
Please clearly document/explain any changes you suggest to the tasks/contexts in your posts using the 'copy to clipboard' in Tasker and then pasting here, with a .zip for good measure!
----------------------------------------------------------------------
----------------------------------------------------------------------
I WANT TO GET INVOLVED!! BUT WHAT SHALL I DO??? >>CLICK HERE<<
SEE THE 'HOW DO I BRICK MY PHONE?' THREAD >>HERE<<
Please feel free to post your ideas below!
Yes, we all know Seek Droid is an absolute bargain at $0.99 in the mean time...
SherlockGreen Installation Instructions
In menu options/profile data 'Import One Task':
SG-FoundMenu.tsk.xml
SG-FoundOk.tsk.xml
SG-FoundNo.tsk.xml
SherlockVarClear.tsk.xml
In menu options/profile data 'Import One Profile':
Sherlock-Green.prf.xml
Dr Watson Installation Instructions
In menu options/profile data 'Import One Profile':
DrW-Alert.prf.xml
DrW-PopUp.prf.xml
DrW-Location.prf.xml
DrW-Tasker.prf.xml
DrW-Var.prf.xml
The thanks meter lets me know I'm appreciated
I would enjoy having something like this that works reliably, definitely the things that have to be perfected are the locate, encrypt, backup, wipe, alert, custom message and lock-out features.. Everything else is just a great added bonus.
Maybe see if you can somehow activate the microphone to listen to nearby conversation, or cameras to see anything thats going on (hopefully its not just a pocket shot lol)
Sent from my rooted G2X
DrowsyMalice said:
I would enjoy having something like this that works reliably, definitely the things that have to be perfected are the locate, encrypt, backup, wipe, alert, custom message and lock-out features.. Everything else is just a great added bonus.
Click to expand...
Click to collapse
The basics could definitely be perfected...
Maybe see if you can somehow activate the microphone to listen to nearby conversation, or cameras to see anything thats going on (hopefully its not just a pocket shot lol)
Click to expand...
Click to collapse
I like it - start voice recorder for ten seconds - zip it up and email it... or just dial-out of course...
A pocket shot would be a little disappointing!
Keep the ideas coming....
Those are some pretty good bonuses. I think it would be cool to have the phone fake being bricked. Fully functional for the owner with remote password. However, phone will run a program in background for "brick" mode.
Display will be nothing but static, all buttons are disabled whilst sending its location, video and voice recordings to your pc.
Pulling the battery, trying to reboot into recovery or fast boot, or connection with usb will not work. All settings are initiated upon boot. Phone is "bricked" until you send the password via your pc.
I don't know if this would be possible, just a thought.
Rooted G2
lncoln said:
Those are some pretty good bonuses. I think it would be cool to have the phone fake being bricked. Fully functional for the owner with remote password. However, phone will run a program in background for "brick" mode.
Display will be nothing but static, all buttons are disabled whilst sending its location, video and voice recordings to your pc.
Pulling the battery, trying to reboot into recovery or fast boot, or connection with usb will not work. All settings are initiated upon boot. Phone is "bricked" until you send the password via your pc.
I don't know if this would be possible, just a thought.
Rooted G2
Click to expand...
Click to collapse
I'm sure we could achieve most of it with pooled knowledge...
'Brick mode' is really essential to allow the phone to keep communicating. Would need a silent, black splash and boot animation so if the device was rebooted it would still appear off... or perhaps a fake one that appears to show errors and say's 'powering off'...?
Recovery and Fastboot are completely separate - to my knowledge they can't be tampered with from the OS - Although maybe there are some essential system files they use that Tasker could delete? I'm really not knowledgeable enough about that...
How about preventing itself from being uninstalled. Perhaps by needing a password (or some other means) to continue with the uninstall.
Would it be possible to take a picture when movement is detected? and send this picture by email?
How about it setting itself to speaker phone and calling a selected contact who can instruct them on how to get the phone back to you.
...insert witty signature here.
And if that fails within a # of tries, emails location to you periodically.
...insert witty signature here.
baboonsRus said:
And if that fails within a # of tries, emails location to you periodically.
...insert witty signature here.
Click to expand...
Click to collapse
A fake brick option would be the best, coupled with sensor awareness for recovery.
For the fake brick, it think it would be best if the screen gets stuck at a battery low/please plugin your charger, so that the perp will always charge your phone for you if they wanna use it.
For the sensor awareness, taking a recording, as well as taking occasional videos would be nice, as well as GPS location data.
Tasker and other apps can't enable/disable GPS since 2.3.3, Google change the security restrictions, also Radio on/off is not possible. And yes, this sucks.
Still works on CM7 though
Found this thread through a post I made on another forum.
That's an awesome list, will have a go at implementing some of these to my setup.
edit: maybe after reboot (if a security flag has been activated) the 'lockscreen' can ask the guy to input his info (name/email..password?? lol) in order to use the phone, then obviously send those out.
suggestion:
- enable Taskers PW-protection
feedback:
- don't like: 2-5 (maybe display a sms-provided msg instead?), 27, 28
- like: 1, 6, 7, 8, 9, 10, 23
BTW: any good alarm sounds you guys can recommend? Looking for a nice loud one that'll be easy to hear when nearby
rjg0691 said:
How about preventing itself from being uninstalled. Perhaps by needing a password (or some other means) to continue with the uninstall.
Click to expand...
Click to collapse
If you're talking about Tasker itself, then it can already be password protected.
AntAreS24 said:
Would it be possible to take a picture when movement is detected?
and send this picture by email?
Click to expand...
Click to collapse
I'm not sure how to tap into the sensor controls, but enabling a number of Tasker gesture alerts that basically activate for any movement would do it. Tasker would only react to these gestures if it knew it was in 'slueth mode'.
baboonsRus said:
How about it setting itself to speaker phone and calling a selected contact who can instruct them on how to get the phone back to you. And if that fails within a # of tries, emails location to you periodically.
...insert witty signature here.
Click to expand...
Click to collapse
Both could work. If you've left it on a train for example, it would first text your chosen emergency contact telling him/her it's about to call them and to get ready to shout loud to see if someone hears...
sakai4eva said:
A fake brick option would be the best, coupled with sensor awareness for recovery.
For the fake brick, it think it would be best if the screen gets stuck at a battery low/please plugin your charger, so that the perp will always charge your phone for you if they wanna use it.
For the sensor awareness, taking a recording, as well as taking occasional videos would be nice, as well as GPS location data.
Click to expand...
Click to collapse
The ultimate goal would be to make the perp leave the phone 'awake' for as long as possile whilst fooling them into doing something like looking for a charger (that would be great if they kept charging it up!!) or following long winded instructions that they think will give them full use of the device, all the time keeping them unaware that they are being hunted down!
Furzbirre said:
Tasker and other apps can't enable/disable GPS since 2.3.3, Google change the security restrictions, also Radio on/off is not possible. And yes, this sucks.
Click to expand...
Click to collapse
lifelikelife said:
Still works on CM7 though
Click to expand...
Click to collapse
CM have indeed hacked this.
For other custom ROMs, Google will tell you that under settings/location and secuirty wifi and GPS should always be ticked and will use no extra resource until required. Alternatively, most Gingerbread ROMs have the the status bar power widget. I'm pretty sure this is controlled by a simple system file that Tasker could overwrite - further investigation needed.
lifelikelife said:
Found this thread through a post I made on another forum.
That's an awesome list, will have a go at implementing some of these to my setup.
edit: maybe after reboot (if a security flag has been activated) the 'lockscreen' can ask the guy to input his info (name/email..password?? lol) in order to use the phone, then obviously send those out.
Click to expand...
Click to collapse
Ha! We know there are some very dumb criminals around. It could be worth a shot!
XlAfbk said:
suggestion:
- enable Taskers PW-protection
feedback:
- don't like: 2-5 (maybe display a sms-provided msg instead?), 27, 28
- like: 1, 6, 7, 8, 9, 10, 23
BTW: any good alarm sounds you guys can recommend? Looking for a nice loud one that'll be
easy to hear when nearby
Click to expand...
Click to collapse
We'll make sure that these profiles are fully configurable for individual tastes - so if one users likes one idea and not another, they can easily adjust. I'm sure we'll get some volunteers on XDA to make us the custom bootanimations, splash screens, black wallpaper, fake wallpaper (with instructions on), images we can show on the screen (with fake instructions on) and sounds etc etc etc.
i think a good option would be to initate a fake phone call (activate ringer, stock Call Screen with picture of a really attractive girl) and have the caller name be something like, "the best hookup ever" so as the Thief looks at it--the Front Facing Camera option is enabled & takes a picture of the Thief.
this picture then gets automatically sent to a designated email.
just a thought.
project.in.process said:
i think a good option would be to initate a fake phone call (activate ringer, stock Call Screen with picture of a really attractive girl) and have the caller name be something like, "the best hookup ever" so as the Thief looks at it--the Front Facing Camera option is enabled & takes a picture of the Thief.
this picture then gets automatically sent to a designated email.
just a thought.
Click to expand...
Click to collapse
Ha! Classic... Love it If only I already had such a 'contact' in my phone...
I could do with a device with a forward facing camera too...
Whew god, first suggestion, kill that signature. Wow.
Anywho. I wrote something like this myself a while back, but it's not quite in good shape to share I don't think, I'd have to evaluate it.
Anywho, it watches for SMS or Email with keywords and does some action based on those keywords. Primary keyword is to send information, such as location, last call in, last call out, last sms in, last sms out, phone number, battery info, some misc other stuff I think, had to keep it at 140 for sms.
Also if the phone number changes, it sends the same info every 5 minutes to a predesignated SMS.
For email I had to write my own http mail relay since I could not figure out a way to send mail without some intermediate steps showing on the screen or needing to hit the Send button.. kinda defeats the purpose. So it just does a POST to my web server and it sends the email.
If nothing is written here yet and anyone is interested, I can do some clean up and post it. Although I'm pretty bad about getting it done, I still need to post some GPS Tracking tasks I wrote a while back for "TrackMe".. ahem.
Can we get it to mimic the initial android phone setup, the welcome to android screen, make them touch the android, then they input their info?
Sent from my VM670 using XDA App

[APP][UPDATEv1.6.5] Andro+ Call Manager (Backgrounder)

Hi there!
We are two developers who have been following xda for a long time,
We are happy to announce a new kind of Application on Android Market and want some suggestions and testing by xda community!
This is the App's description:
Andro+ Call Backgrounder provides you an important feature that Android System lacks!
CallBackgrounder lets you put in background an incoming call simply by pressing a button!
How many times you were watching a video, playing a game or reading email/website and an Incoming call disturbed your actvity?
With CallBackgrounder you can return to the last app you were using by putting incoming call in background!
The caller will never notice about your action, the incoming call will continue in background and you will be free to carry on whatever you were doing and maybe later answer/reject.
You can find filters based on contacts and apps that let you ACTIVATE CallBackgrounder ONLY for some contacts or running apps.
New Feature: Shake Detection, if activated Popup will be displayed ONLY if you shake your phone!
DON'T FORGET to watch sample video that you can find in Android Market page! Or just go to: http://tinyurl.com/androcallbg
Click to expand...
Click to collapse
NEW FEATURE: Tiny Layout and Shake&Background, watch them on last one screenshot or directly on Youtube: http://tinyurl.com/androcallbgnf
Now You can use non-invasive Tiny Layout on TOP of your existing CallScreen Layout! Tiny Layout is not a Popup but ONLY one button!
So what are you waiting for? Try out the app and let us know your opinions!
What's new:
What's new? Andro+ Call Backgrounder becomes Andro+ Call Manager introducing new options, now you can place your incoming call in background and/or reject your incoming call and AUTO-Recall the caller!
*) ON SALE! For limited time!
*) Version 1.6.5 solved a bug when placing in background call on some devices
*) Solved bug: no restore ringer settings on call ending, thanks to Stefan
*) New Name new functions!
*) Fixed Anonymous call bug
*) New Feature: Tiny Layout (that you can see in the second screenshot) and Shake & Background function
*) New Feature: Shake Detection, if activated Popup will be displayed ONLY if you shake your phone!
Click to expand...
Click to collapse
Thanks to all will help us,
https://play.google.com/store/apps/details?id=it.elaware.androplus.callbackgrounder
Elaware Team.
I was hoping more along the lines of being able to press the home/back button or something to put the call in the background. I like the stock slide to answer/reject calls method.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
How does something like this correspond whit apps like Go Dialer ?
zerkai said:
I was hoping more along the lines of being able to press the home/back button or something to put the call in the background. I like the stock slide to answer/reject calls method.
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
Thanks for replying, unfortunately Android System blocks Home Button so we can't override it!
But if you want something less intrusive you can use the "Shake Detection" function that let you activate the Popup ONLY by shaking the phone during an incoming call.
Any other feedback is appreciated.
Thanks,
αкαѕнα said:
How does something like this correspond whit apps like Go Dialer ?
Click to expand...
Click to collapse
Hi,
We have just tried it with Go Contacts/Dialer and with Video Caller Id
and it works great with them.
We appreciate any further opinions,
There's a way to press "home" during a call and talk to the person in the background while using your phone otherwise, similar to what the iPhone does. If it's not what the "send to background" option does, any way to add a "pick up but put in background" option?
Hello what is called that application in second screen that gives you the control over wifi etc.
pppawel said:
Hello what is called that application in second screen that gives you the control over wifi etc.
Click to expand...
Click to collapse
Hi, its not really an app...Its sort of like a control widget hard-coded into the status bar...Most custom ROMs come with it installed...
Can you add new feature please , it's (Recall) to redial the caller
android market always gives me a hard time because in my country these apps are not available for download.
Could someone post an apk or download link plz ,thank in advance
hskeik said:
Can you add new feature please , it's (Recall) to redial the caller
Click to expand...
Click to collapse
Thanks for suggestion,
Can be good an option that allow you to have a notification (in notification bar) to recall your missed call (that you've previously placed in background) by pushing it?
Something like missed call notification but when you press it, it will re-dial your contact?
Let us know,
Thanks,
rivtre said:
android market always gives me a hard time because in my country these apps are not available for download.
Could someone post an apk or download link plz ,thank in advance
Click to expand...
Click to collapse
If Developer hasn't any problems, I've uploaded a copy here:
http://www.multiupload.com/4REZ2Y6ZIP
bye
Hey folks,
Many of you have downloaded and tried Andro+ Call Backgrounder, how it worked? Did you like it?
If you write here your feedback we can improve it!
Thanks to all.
Just tried the demo and so far so good. I just have one suggestion for now. For people who want to use their own dialer to answer/reject calls, can you make the "shake detection" automatically put the call in the background? It's kind of annoying to shake the phone then have to press the background button.
maxdamage2122 said:
Just tried the demo and so far so good. I just have one suggestion for now. For people who want to use their own dialer to answer/reject calls, can you make the "shake detection" automatically put the call in the background? It's kind of annoying to shake the phone then have to press the background button.
Click to expand...
Click to collapse
Thanks for the suggestion,
We will introduce this feature in the next release,
We will inform you when this option will be available,
Thanks again,
maxdamage2122 said:
Just tried the demo and so far so good. I just have one suggestion for now. For people who want to use their own dialer to answer/reject calls, can you make the "shake detection" automatically put the call in the background? It's kind of annoying to shake the phone then have to press the background button.
Click to expand...
Click to collapse
We've just added this features to Andro+ Call Backgrounder,
Update is on Android Market,
more details on first page of this Thread,
I'm looking for app that would completely ignore and send specified calls to background immediately ("don't answer" mode, not "reject"), so i do not even know i've been called. No ring, no vibration, no screen wake up when phone is asleep and not a single one notification when it's awake. Is it possible with root?
Tank-piercing said:
I'm looking for app that would completely ignore and send specified calls to background immediately ("don't answer" mode, not "reject"), so i do not even know i've been called. No ring, no vibration, no screen wake up when phone is asleep and not a single one notification when it's awake. Is it possible with root?
Click to expand...
Click to collapse
Seems possible, however, while the phone is asleep it may not be possible to check the number then background it before the screen awakes and/or rings. Backgrounding certain numbers automatically is definitely doable though.
Hi,
we need this app so bad ,, and the version in market is buggy ..
why development is stooped ?
any news
Anyone please

[APP][ROOT][1.6+] ButtonLED v1.6 (05/05/13)

I'm not planning to update this app anytime soon. You can try alternatives if you want, such as Backlight & Sound Notification. Thanks.
Read the FAQ before asking questions. If you haven't read it, my only reply will be "Does the FAQ help?"
Click to expand...
Click to collapse
You do NOT need a kernel with BLN support to use this app. In fact, I made this because my device has no BLN kernels.
Also, a quick note for those who are gonna read the comments: The attached MDPI/HDPI versions look fine on respective devices. The first version of ButtonLED was only available for MDPI, which should explain the first few comments.
Hey guys,
I've been fiddling around Tasker for the last few weeks and finally decided to create a fully functional app using it.
At this point, some of you will be thinking "another useless, ugly, cluttered Tasker created app that does something nobody needs".
Well, then, I'll try to prove you wrong
You do NOT need Tasker to use the app.
App Description:
ButtonLED is similar to NoLED: It allows you to have led like notifications without actually having the led light. However, NoLED uses uses your screen; ButtonLED only uses the hardware buttons' backlight (your screen stays off). It's customizable to an extent, with more to come depending on feedback and suggestions.
Features:
status bar notifications + missed call/unread text support;
pause for some user defined time on proximity (e.g. If phone is turned down, or is in your pocket);
turn button backlight for x seconds, then off for y seconds;
notification exceptions (e.g. To ignore all notification that contain "hello", add *hello* to the exception list);
logs;
should work on all devices since the user can locate the brightness file;
and some more (check the screenshots, install the app).
Compatibility:
It should work on all rooted devices (some devices have a kernel level limitation; read the FAQ). At the moment, you'll also need to have a proximity sensor to run it. It should work without having to do (almost) anything manually for many devices. If auto locate doesn't find anything useful, you'll have to manually locate the brightness file. Please share the results when you do that so i can improve the auto locate feature.
Running The App:
install and open the app. You should be greeted by a popup showing you a list of files. Select the most appropriate (you're looking for something that has a path such as "/sys/devices/platform/bcm21553-leds/leds/button-backlight/brightness). Once you're done, click "enable buttonled in accessibility" and do so. Come back to buttonled and tap the "test buttonled" button. If your capacitive buttons flash, you're good to go. Otherwise, you will need to select a different brightness file (use auto locate or do it manually).
You may also want to customize the options.
Some examples for the brightness file:
Code:
I'll update this list later.
Auto Locate will not follow symlinks as it can cause infinite loops or imprecise results (if it doesn't search deep enough). Usually, /sys/class/leds will have symlinks to all LEDs, backlight included. Check it out.
Screenshots (actual release is slightly different):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelog:
v1.6 (05/05/13):
You can now ignore apps as well.
The battery tweak can be disabled on devices where ButtonLED was flashing the LEDs once or twice before sleeping forever.
You can long press log items to view the full text, for items that didn't fit.
Proximity sensor feature is now disabled (it wasn't working anyway due to a Tasker limitation) (the UI option is still listed as "FEATURE DISABLED"). This should have a minor but positive impact on performance/battery.
Minor UI changes.
Other minor changes.
v1.5 (24/02/13):
Wake locks are released while the LEDs are off and ButtonLED is waiting;
Sleep timer is fixed. The current value is also displayed when changing the sleep start/end times;
Tapping on a log entry will give you the option to add that notification to the exclusion list;
ButtonLED will give you the choice to install Busybox if it's not found;
File Browser/Auto Locate issues might be fixed for users who were having them (pressing File Browser did nothing at all even if Busybox is installed). Please try it if you were having this issue.
Added XHDPI version for everyone. Also added MDPI for JB/CM10 users.
v1.4 (19/01/13):
Manual search is now as fast as other file explorers (busybox is required);
Sleep start/end added (ButtonLED will not react to notifications during that time);
Confirmation added before removing exceptions;
Fixed a (rare?) issue where ButtonLED kept blinking the lights after the screen is turned on;
Might be more battery efficient if using higher LED Off delays, not sure. But if it is, it will be much better (more testing needed);
v1.3.1 (03/12/12):
ButtonLED will stop notifying you about missed calls and unread texts when you turn your screen on, instead of continuing till you view them;
Auto Locate will now simply search /sys for the brightness file. That means it will locate more files, across more devices. It's also faster;
Fixed the bug where ButtonLED would forget resuming once the battery drops below the threshold then go above it again.
v1.3 (03/11/12):
Stop service and exit menu option;
Ignore notifications if battery is lower than threshold;
Fixed exceptions not taking effect;
Changed the path auto locate looks into. Hopefully, this will make it work for more devices;
Two versions are now available, one for mdpi devices, the other for hdpi devices (thanks for .xxx. for testing).
v1.2 (27/10/12):
Rewrote most of the logic;
Better handling of events;
Less battery consumption and more accurate logs;
Logs now show battery percentage on processed notifications, screen on (if notifications are pending) and device shutdown, which should give users an idea about battery consumption;
Fixed logs showing skipped notifications as processed (e.g. Notifications that were issued with the screen turned on were skipped but shown as processed in the logs);
Auto Locate brightness file option (beta; need more device specific info to tweak the search);
Separated missed call from unread text notifications;
Run with higher task priority, should avoid lag (uses the renice linux shell command).
v1.1 (24/10/12):
Missed call/unread text notifications support;
Optional permanent notification;
Option to use flashlight instead of the hard buttons' led light;
Test button that will turn on and off the led/flashlight;
Other minor modifications and fixes.
(original beta thread)
To Do:
Landscape support;
Patterns?
This list is updated based on your feedback. Want to see a feature? Suggest it!
Bugs:
Proximity sensor doesn't have any effect;
This list is updated based on your feedback. Thanks for reporting any bug you find.
Downloads:
Don't forget to post your comments!
Get ButtonLED
Jelly Bean/CM10 users, get the "ButtonLED.x.x.XXXX_JB.apk".
Everyone else, download "ButtonLED.x.x.XXXX.apk".
Don't know which APK to grab? Read the FAQ for info on how to determine your resolution (MDPI, HDPI, XHDPI, ..).
You can find previous versions here.
Tasker Project:
You can get the Tasker project if you prefer, it offers the same functionality but will run inside Tasker instead of being a separate app.
You need Tasker (pre-ICS versions only) and the Holo Light IPack icon pack to use this.
Grab the appropriate project file from here.
Place the XML file in your SD Card (e.g. mnt/sdcard/tasker/projects/) and open Tasker. Long tap on an existing project (if you can't see the projects bar, disable beginner mode in Tasker's settings, then swipe down from the "projects"/"tasks"/"scenes"/"variables" bar), select "import", then tap on the file's name (e.g. buttonled.hdpi). You should see a new project appear with ButtonLED's icon. Apply the changes by tapping on the green check mark in the bottom left corner, then open Tasker again.
To open ButtonLED's configuration menu, run the task named "config".
Click to expand...
Click to collapse
~~~~
FAQ:
Q: It's not detecting my brightness file!
A: Apparently, if you have a kernel with BLN support, you don't have one. Otherwise, try searching manually or asking on your device's forum. And to make sure auto locate didn't miss something, you can run this in a terminal emulator (this will also expand the search so expect some weird results):
Code:
find / | grep brightness
It's worth noting that Auto Locate will not follow symlinks as it can cause infinite loops or imprecise results (if it doesn't search deep enough). Usually, /sys/class/leds will have symlinks to all LEDs, backlight included. Check it out.
Q: The test button works fine, but ButtonLED won't react to my notifications.
A: make sure ButtonLED is enabled in accessibility. Also, check ButtonLED's logs. Is it detecting the notifications? Is it reacting to them, but you fail to see it? If that's the case, try increasing the led on duration.
Q: Can i use this with application xyz (e.g. Whatsapp)?
A: if the application sends notifications, yes. ButtonLED will automatically detect them.
Q: Should i get the MDPI or HDPI APK?
A: if your device's density is ~160, get the MDPI APK. If it's ~240, download the HDPI APK. If you don't know, download an app from the market that will show you (e.g. screen resolution), or grab the MDPI APK and if it looks squished, uninstall it then install the HDPI APK.
Q: Battery usage is too high!
A: ButtonLED will hold a wakelock when it's flashing the LEDs. Configure it to ignore notifications you don't care about (turn the logs on, and use exceptions). See this post.
Q: Auto Locate/File Browser isn't working!
A: Try installing Busybox.
Also make sure ButtonLED has root permissions - check your SU app, and try to revoke permissions then give them back.
If that fails, it might be related to how Tasker checks if your device is rooted:
Tasker decides that a device is rooted if /system/app/Superuser.apk is present and su is present in one of the directories of $PATH
Click to expand...
Click to collapse
Q: Test works, and the logs show that ButtonLED detects and processes my notifications, but it won't light my LEDs!
A: Check this out.
Q: Talkback is talking randomly even when I have it disabled!
A: That's a known Samsung issue. It's not related to ButtonLED.
Q: How do I ask for help?
A: What have you tried? Did you do anything covered in this FAQ but it didn't help? Have you read the last few pages of comments? If you don't answer any of these questions, I'll assume you haven't read this FAQ and my reply will be "Read the FAQ".
Click to expand...
Click to collapse
~~~~
Reserved
fantastic concept, but the lights flash all the time, without notifications, on my mother's lg p500!
i'll keep watching you for updates, and i'll be testing =)
thanks!
joaor10 said:
fantastic concept, but the lights flash all the time, without notifications, on my mother's lg p500!
i'll keep watching you for updates, and i'll be testing =)
thanks!
Click to expand...
Click to collapse
The logs should be useful in that case. Did you check them out? It might be because of another app that has a permanent notification (e.g. Tasker).
edit: did auto locate work for you? If not, where was your brightness file?
I just noticed the exceptions aren't taking effect (forgot a line ). It's fixed in v1.3, will upload it later.
Regarding resolutions, I'll try checking the XML files later and try adapting it to all resolutions. Don't hold your breath, tho. Worst case scenario, multiple versions will be created, one for each resolution.
If you know where a device's brightness file is located (perhaps you own it, or you just read it somewhere), please share so I can improve the auto locate feature.
Thanks.
will there ever be a compatible jb version?
So in other words, it's like Backlight Notification but for all phones?
https://play.google.com/store/apps/details?id=neldar.bln.control.free
Exploitlol said:
will there ever be a compatible jb version?
Click to expand...
Click to collapse
If anyone has Tasker and can generate JB APKs ("Minimum Android Version: 16" setting) without problems, I'll be happy to pass the project for them to export and send me back, after which I'll upload it.
polobunny said:
So in other words, it's like Backlight Notification but for all phones?
https://play.google.com/store/apps/details?id=neldar.bln.control.free
Click to expand...
Click to collapse
Pretty much, although it works differently: BLN "redirects" LED notifications to the capacitive buttons, ButtonLED tries to detect all notifications.
It's more like NoLED but with capacitive buttons.
Thanks GermainZ...Working on my Ace-i
How's the battery drain?
ccab said:
How's the battery drain?
Click to expand...
Click to collapse
I did my best to keep as low as possible: the sensor is only checked when the notification is triggered and every 30 cycles after that.
I did some testing and the drain was around 6.5% per hour on my device (tested for around 7 hours). Note that was before I fully implemented the battery saving features, so it will probably be less. The used settings were: 1s on, 1s off. (current default is 1s on / 4s off)
But then again, it all depends on your device. Obviously, having a kernel that supports underclocking (e.g. setting your frequencies to 156Mhz-1Ghz with a governor that doesn't lock the frequency to the max) helps, since your device will always be awake if ButtonLED is active (active as in turning the LED on and off, not just running in the background).
Thanks a tonne man.. I was waiting for such an app for like months now.. glad it came and yeah fyi I have subscribed to the thread and waiting for more features and updates..
Sent from Hell!!
---------- Post added at 11:08 AM ---------- Previous post was at 10:52 AM ----------
Resizing for hdpi phones is needed hehehe..
And May I ask where the brightness file is generally located ? Because I wasn't able to make the app work for some reason :/
Sent from Hell!!
.xxx. said:
Thanks a tonne man.. I was waiting for such an app for like months now.. glad it came and yeah fyi I have subscribed to the thread and waiting for more features and updates..
Sent from Hell!!
---------- Post added at 11:08 AM ---------- Previous post was at 10:52 AM ----------
Resizing for hdpi phones is needed hehehe..
And May I ask where the brightness file is generally located ? Because I wasn't able to make the app work for some reason :/
Sent from Hell!!
Click to expand...
Click to collapse
Autolocate didn't work?
It depends on the device and ROM used, really. In the first post, I posted two examples (S5830 and S5830I).
Judging from your signature, I'm guessing you're using the Galaxy S3. After some googling, I think this file will work:
/sys/class/leds/button-backlight/device/leds/button-backlight/brightness
If not, well... Try asking on your device's forum and report back once you find it
GermainZ said:
Autolocate didn't work?
It depends on the device and ROM used, really. In the first post, I posted two examples (S5830 and S5830I).
Judging from your signature, I'm guessing you're using the Galaxy S3. After some googling, I think this file will work:
/sys/class/leds/button-backlight/device/leds/button-backlight/brightness
If not, well... Try asking on your device's forum and report back once you find it
Click to expand...
Click to collapse
Auto locate did not work man. When I tried the test, it gave me this reason.
My decide is LG optimus sol with cm7.
I would glad to see a reply soon. Eager to make it work.
Sent from Hell!!
.xxx. said:
Auto locate did not work man. When I tried the test, it gave me this reason.
My decide is LG optimus sol with cm7.
I would glad to see a reply soon. Eager to make it work.
Sent from Hell!!
Click to expand...
Click to collapse
Try this:
Tap the "Browse for the button brightness file" button
Go to /sys/class/leds/button-backlight/
Tap the "brightness" file
Test
If that doesn't work, try the same with /sys/class/leds/button-backlight/device/leds/button-backlight/ in step 2.
GermainZ said:
Try this:
Tap the "Browse for the button brightness file" button
Go to /sys/class/leds/button-backlight/
Tap the "brightness" file
Test
If that doesn't work, try the same with /sys/class/leds/button-backlight/device/leds/button-backlight/ in step 2.
Click to expand...
Click to collapse
Man!!!!!! You are a life saver.. Thanks a lot.. I got the file.. tested the button led light.. and now looking forward for real time notification.
Sent from Hell!!
---------- Post added at 12:12 PM ---------- Previous post was at 12:05 PM ----------
Okay. So, here is the deal.
In test mode it works like a charm. But in real time notification, it won't glow the soft key light.
Sent from Hell!!
.xxx. said:
Man!!!!!! You are a life saver.. Thanks a lot.. I got the file.. tested the button led light.. and now looking forward for real time notification.
Sent from Hell!!
---------- Post added at 12:12 PM ---------- Previous post was at 12:05 PM ----------
Okay. So, here is the deal.
In test mode it works like a charm. But in real time notification, it won't glow the soft key light.
Sent from Hell!!
Click to expand...
Click to collapse
Did you enable ButtonLED in Accessibility?
If you did, check ButtonLED's logs. Do note that ButtonLED will only work if your display is off, and will stop notifying you once you turn the screen on.
GermainZ said:
Did you enable ButtonLED in Accessibility?
If you did, check ButtonLED's logs. Do note that ButtonLED will only work if your display is off, and will stop notifying you once you turn the screen on.
Click to expand...
Click to collapse
I have enabled it in accessibility.
Buttonled log looks normal to me. It catches the going processes.
Yeah, the display was off for a long.time and there were missed calls but soft keys never glowed :/
Sent from Hell!!
.xxx. said:
I have enabled it in accessibility.
Buttonled log looks normal to me. It catches the going processes.
Yeah, the display was off for a long.time and there were missed calls but soft keys never glowed :/
Sent from Hell!!
Click to expand...
Click to collapse
What do the logs say
Normally, it would be something like this:
Code:
14:57: Stopped (screen turned on; battery: 87%)
14:56: Sleeping for 300 s (proximity detected; battery: 87%)
14:51: Sleeping for 300 s (proximity detected; battery: 87%)
14:51: Missed Call (processed; battery: 87%)
14:51: Missed Call (detected)
Also try setting a higher "on" delay, just to make sure it's not turned off too fast.

[TASKER] Some useful profiles made by me

I am sharing some profiles and projects which are very useful for me. The background is that I have installed tasker to minimize the apps for little things. I am not posting night profiles or profiles turning wifi off etc., so I think this thread will not be boring.
Here they are:
Project New Messages:
It has following profiles/tasks:
Show custom notification of new text
Open a Jellybean-like message reply popup upon clicking notification
If we decide to view message via default notification, clear the tasker's generated notification
Light up screen on receiving new text, if screen is locked.
The sceenshots are also attached for this project.
PROFILES:
Find phone, a "productive" GPS Locator solution.
When we send a text "findphone" to our number, following tasks are performed:
Set Wifi to off
Airplane mode on
GPS on
Get location via GPS (timeout 4 minutes)
Wait 4 minutes IF GPS location is not set yet
Airplane mode off
Wait 15 seconds (the time it takes for the network to be useable)
Send SMS to the number from which the findphone text had been sent (last incoming text number) (text will be: GPS [email protected] 00.000000, 00.00000)
Wait 15 seconds (to ensure the text has been sent)
Wifi on
Get Location via network (timeout 4 minutes)
Wait 4 minutes IF Network location is not set yet
Send sms again, now with the text like: Non-GPS [email protected] 00.000000, 00.00000
This turns wifi and mobile network off and turns gps on so the phone collects exact location data via satellites. after that, it turns the networks on and sends the exact gps location text. Then it also collects and sends the approximate gps data with the help of network, so the receiver will receive two texts. The format in which the texts are sent is made in such a way that if we copy the whole text of message and search in google maps's app, it will pinpoint to the exact location and not the nearest road.
Instant Missed Call Notify
Send text "Missed call from" followed by the number we had a missed call from, to a predefined number. (ignore the word instant)
Instant SMS forwarding
Forward all texts to a predefined number with text like "From [Name][Number]: [Text]
Send Email To Faraz
When composing an email, if we long press the search button, it will type in a part of email address, then press down then enter, hence selecting the first contact from the dropdown menu. Then it presses the down button like 4 times, then left then enter button (ALL ARE D-PAD FUNCTIONS), So, the send button is pressed. This is useful for facebook page admins and those who want to share every other picture via email to a contact.
And... Faraz is the name of page
About the image of browser, this is just a screenshot I wanted to share, just to send out a message that even a simple web browser-like "application" can also be made within two days of using tasker, so tasker is not too difficult and that the new users should give it a try
How come you make the screen go ON in #1
AnkitChanne said:
How come you make the screen go ON in #1
Click to expand...
Click to collapse
I did it with Secure settings plugin
Thank's man! I wish there was a specific thread for tasker where we could share profiles / scripts for tasker. It's a really underrated powerful tool that requires a bit of a learning curve, but once we get on with it, the possibilities are literally endless!
MidnightDevil said:
Thank's man! I wish there was a specific thread for tasker where we could share profiles / scripts for tasker. It's a really underrated powerful tool that requires a bit of a learning curve, but once we get on with it, the possibilities are literally endless!
Click to expand...
Click to collapse
Yes, there are many useful implementations, but I haven't found posts other than those who teach about turning wifi off in car or turning volume down at night.
I will hopefully post another, better than this, implementation soon. It's about adding widget-like functionality on the lockscreen of HTC.
See this preview, I am still building it.
The text at the bottom is email's subjects followed by the sender's names. Text looks broken here because this image was uploaded in intention of getting help with this exact matter.
usman farhat said:
Yes, there are many useful implementations, but I haven't found posts other than those who teach about turning wifi off in car or turning volume down at night.
I will hopefully post another, better than this, implementation soon. It's about adding widget-like functionality on the lockscreen of HTC.
See this preview, I am still building it.
The text at the bottom is email's subjects followed by the sender's names. Text looks broken here because this image was uploaded in intention of getting help with this exact matter.
Click to expand...
Click to collapse
There are some tutorials here on xda onder Android category. A brief search came up with extended results in how to use tasker. Some of them are quite good.
But yes, I agree that the app itself should have an official tutorial for the basic / medium stuff, the rest we would exploit and figure out on our own

Have a meeting, but waiting for important call from your boss???

Smart N' Loud - Smart Ringer 2.0.1 is now published!
Now working on many more devices + fixed crashes in 2.0!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Short description:
Getting Started...
==================
- Click add to select contact, group, or special number
- Set your contact or group incoming call preferences (detailed below)
Contacts, Groups and Special Numbers
====================================
- If you chose a contact with more than one phone number, you have to choose a specific number
- If you chose a group, the selected setup would be applied on all contacts within the group
- If a contact is removed from a group, the app would update itself on the next run.
Note: until next run, the removed contact is still considered as within the group
- You can also setup your incoming call preferences for 'blocked number'.
Note: this option is not for unlisted numbers in the phone's contact list
Incoming Call & Sms Preferences
=========================
- Choose between Loud, Vibrate or Silent per contact or group
- Define after how many calls or messages to activate above setup. The simple setup - after one call or message - means to activate the setup for each incoming call or sms
- If you chose two or more calls, a period of time in minutes is also needed to define the complete setup. For example, make the phone ring for contact 'X', after 2 calls within 10 minutes
- Loud would be activated when the phone is on silent or vibrate mode
- Vibrate would be activated only when the phone is on silent mode
- Silent would be activated when the phone is on loud or vibrate mode. Note that silent is activated for each call
- After confirmed, setup would also appear in the application's main screen. If two or more incoming calls are selected, a red indication with the number of calls would show up on the setup icon
Auto Activation and Popup Alert
===============================
- In the application's main screen, the bottom right button would indicate whether the setup is activated or not. A green light means enabled, while a red light means disabled
- You can manually enable or disable the selected setup by pressing the bottom right button
- In the settings screen, you can choose to auto activate when phone state is changed to vibrate or silent
- If auto activation is not selected, you can choose whether to use popup alert when the phone state is changed to vibrate or silent
- If popup alert is enabled and ringer mode change is detected, you can choose whether to activate Smart N' Loud, or use 'real silent' mode
- Choosing the 'always' option would set the auto activation option for next time. In order to change it, use the settings screen
Further Help
============
- In case you encountered any problems and you need further help, please contact us using the 'contact us' button in the settings screen
- If you like the application, please help us and rank us. Thanks!
Wow that is a nice idea. Not only for your Boss but for a lot of other situations.
Thanks.
Photon532 said:
Wow that is a nice idea. Not only for your Boss but for a lot of other situations.
Click to expand...
Click to collapse
Subscribed....
Really good idea
Thanks a lot!
Installing... Can this mute notifications while keeping ringer on and vice versa?
eyalse said:
Now it's possible!!!
Install Smart N' Loud, define your "important" contact in the application, and put your phone on silent!
When he/she calls - the phone will ring!
https://play.google.com/store/apps/details?id=com.eyalse.smartandloud
More features:
- define your "white list" or "black list" for each contact seperately
- definition for incoming blocked number is also possible
- you can define that the phone would ring after certain number of call (your choice) in a specific time range (your choice)
for example: 2 calls in 10 minutes from a specific contact - the phone would ring.
- search for your contacts in a easy and simple way - through the search box
- if not defined "Auto", when the phone changed into vibrate/silent - the app will ask you whether to activate Smart N' Loud or not.
you can define "auto activation" by answering "always", or check the option inside the app.
- when the call ends - the phone will return to its previous ringing mode.
Thanks! Don't forget to rate!
Click to expand...
Click to collapse
great :good:
This looks like a great app. I've tried a lot of apps like this one because I want to have my phone in silent mode in the night but I've also got a few contacts that I want to know if they call me.
How do I disable your app? If I switch my phone to silent mode, your app asks me if I want to turn it on. That's a very nice feature. But if I say yes but then later want to turn off the app and keep my phone in silent mode no matter who calls me, how do I turn off your app so it doesn't override my silent setting?
Hi,
In that case you have to change your phone back to loud, and when you change again to silent, just press "No".
I guess i could add another checkbox inside the app which allows to "deactivate" the previous selected mode...i'll think about it for the next version...
Michael B.N. said:
This looks like a great app. I've tried a lot of apps like this one because I want to have my phone in silent mode in the night but I've also got a few contacts that I want to know if they call me.
How do I disable your app? If I switch my phone to silent mode, your app asks me if I want to turn it on. That's a very nice feature. But if I say yes but then later want to turn off the app and keep my phone in silent mode no matter who calls me, how do I turn off your app so it doesn't override my silent setting?
Click to expand...
Click to collapse
No, not at the moment...
dodgebizkit said:
Installing... Can this mute notifications while keeping ringer on and vice versa?
Click to expand...
Click to collapse
eyalse said:
No, not at the moment...
Click to expand...
Click to collapse
If you could add those features, and perhaps auto-mute sms and non-call notifications while listening to music, playing a game or watching a video (either preconfigured if possible, or perhaps user-configurable, whatever is easier to develop) I would definitely use this instead of Sanity.
That's not a bad idea, but its kind of a different app... I don't know if it is possible to do all the things you listed, but i'll check it...
dodgebizkit said:
If you could add those features, and perhaps auto-mute sms and non-call notifications while listening to music, playing a game or watching a video (either preconfigured if possible, or perhaps user-configurable, whatever is easier to develop) I would definitely use this instead of Sanity.
Click to expand...
Click to collapse
Purchase
I installed the app on my sprint note 2 and purchased the " add more contacts" option, but when i installed it on my sprint lg g2, i get a try again error messae when I try to purchase the option for that phone. I've un-installed and re-installed but keep getting the same error.
Hi, that's odd...
The purchase process is basically not mine, it's google's...
i do check the Android id but this belongs to a device, not user, so it shouldn't be a problem.
what is the message you get?
slicktony72 said:
I installed the app on my sprint note 2 and purchased the " add more contacts" option, but when i installed it on my sprint lg g2, i get a try again error messae when I try to purchase the option for that phone. I've un-installed and re-installed but keep getting the same error.
Click to expand...
Click to collapse
error message
eyalse said:
Hi, that's odd...
The purchase process is basically not mine, it's google's...
i do check the Android id but this belongs to a device, not user, so it shouldn't be a problem.
what is the message you get?
Click to expand...
Click to collapse
......the message says "error in purchase process, please try again"
Are you using the same account on both devices?
slicktony72 said:
......the message says "error in purchase process, please try again"
Click to expand...
Click to collapse
error message
eyalse said:
Are you using the same account on both devices?
Click to expand...
Click to collapse
....yes
ok, i guess that's what caused the problem...
please send me your email in private, and i'll send you a temporary version with a fix...
slicktony72 said:
....yes
Click to expand...
Click to collapse
Coming Soon....
A new version with few bug fixes - now works better than ever! Soon...
eyalse said:
Now it's possible!!!
Install Smart N' Loud, define your "important" contact in the application, and put your phone on silent!
When he/she calls - the phone will ring!
https://play.google.com/store/apps/details?id=com.eyalse.smartandloud
More features:
- define your "white list" or "black list" for each contact seperately
- definition for incoming blocked number is also possible
- you can define that the phone would ring after certain number of call (your choice) in a specific time range (your choice)
for example: 2 calls in 10 minutes from a specific contact - the phone would ring.
- search for your contacts in a easy and simple way - through the search box
- if not defined "Auto", when the phone changed into vibrate/silent - the app will ask you whether to activate Smart N' Loud or not.
you can define "auto activation" by answering "always", or check the option inside the app.
- when the call ends - the phone will return to its previous ringing mode.
Thanks! Don't forget to rate!
Click to expand...
Click to collapse
New version is out!!!
On 1.4 I found a bug which caused app to crash on startup. This bug is related to "Blocked Number" and language issues. Sorry for that. it is now fixed!

Categories

Resources