[TASKER] Direct Call from Hangouts - ONE Themes and Apps

Hey guys.
Have started to play with Tasker and want to add more features for my OPO.
What I loved about my old GSII was the Direct Call feature, that could make a call by lifting the phone up to the ear directly from a message or in the contact.
Here's the big question: Is it possible to set up Tasker to do the same?
I know that the proximity sensor can be calibrated to do so, but I would like to hear if somebody is more skilled than I am.
Regards
Kvens

I dont think this is possible with tasker, you would need a custom contact or messager app which has this feature
Sent from a OnePlus One with CM11 38 and Boeffla

Fairly simple, what you want to do is first go to:
Developer options
Check Pointer Location
Open up Hangouts
Open a message and tap and hold the phone icon, write down the x and y location numbers. On my 1+1 it's around 828.2 & 162.3
Now create a Proximity Sensor Profile and the Task will be Run Shell the command will be: input tap 828.2 162.3
You must click on Use Root
That's, it now every time you place your phone near your face it will tap that location.
You should add Hangouts to Proximity Profile so the input tap only works when your in the hangouts app.
Hope this helps

Related

voice dial and program launch

Hello
I have an att tilt and am a new user. My question is about the voice dial feature and voice launch feature.
In looking at the manual it seems like after you set up the voice feature for each number or program, you still need to go to start / tools / voice dial just to launch it. Is it me or does this seem to defeat the purpose of voice activating a program? You need to hit a series of keys when it might be just as quick or quicker to just launch the program or dial the number.
Does anyone have any suggestions to maybe make this function more easily accessable when you are lets say driving?
Also does anyone know if bluetooth headsets that say they support voice dialing will activate this function?
Thank you
Adam
Your best choice would probably be a bluetooth headset. On those, you just press one button and say who you want to call and it calls.
There's also a program called Voice Commander - but it's not that good yet, it has voice recognition.. just google it or search this forum.
If you're not driving, using smartdial is probably the way to go. Your Kaiser/Tilt should come with it. You just start typing person's name and it appears in the list.
Another opion might be to use HTC Home - you will have about 7-8 boxes with people's names or photos.. you just tap on in and it calls that person.
Oh, and by the way... you can go to start/settings/personal/buttons and assign a hardware button to that voice application.
Hope this helps..
Don't you have a button that activates the voice dial? In my TyTN there is a button on the right side of it. I used to push it accidentally all the time - it made me so annoyed that I turned it off.

App to only allow calls from certain users, sending all others to voicemail?

On windows mobile, I had an app that allowed me to create a white list of users, and easily set (and unset) it so that only calls from people on that white list would ring the phone, everyone else would go straight to voicemail. Is there such an app for Android?
I used it when I was sleeping, so that calls from trusted people who wouldn't call unless it was important would wake me, while random calls from people who fail to comprehend 'I work 3rd shift and sleep during the day' would go to voicemail. I know individual entries in contacts can be set to ring straight to voicemail, but it's way too much hassle to manually set a bunch of contacts to ring to voicemail, and no help for calls from numbers NOT in my contact list.
Well There is a app called callblock that you either set it to ignore certian numbers or you set it to block unknown numbers... (theres also one for sms too)
You could use Locale like this if your shifts are consistent times:
1. Setup a 'Sleep' situation based on time conditions that mutes notifications and rings.
2. Setup a higher rated 'Trusted Contacts' situation switching the ringer on for calls from your selected contacts.
I used to use Locale like this on my G1 - I'm waiting on manually switched situations (planned upgrade to Locale) to start using Locale again on my Magic.
Just click on a contact and scroll all the way down and it should say send calls from this contact directly to voicemail or something like that
nick8197 said:
Just click on a contact and scroll all the way down and it should say send calls from this contact directly to voicemail or something like that
Click to expand...
Click to collapse
Yeah, like I said, doing this for all my contacts doesn't work, cos I'd be doing it and undoing it every day, plus this is no help for calls from numbers I don't know.
texanman said:
Well There is a app called callblock that you either set it to ignore certian numbers or you set it to block unknown numbers... (theres also one for sms too)
Click to expand...
Click to collapse
I can't find call block in the market. I searched this forum, and someone mentioned not being able to find call block after upgrading to cupcake. http://forum.xda-developers.com/showthread.php?p=3860495#post3860495
Have you got the apk for call block?
i cant even find this callblock app....there's no solution?.....for the Iphone i had like 2 apps for it and for the Fuze i had an app for it....wuz good wit the Market....i can't ever find anything....Cyrket n da barcodes are a lifesaver
Grab a copy of Reverse Lookup Plus.
You can choose to "lookup" any unknown call, get caller info, and then you can decide to added it to a blocked-list that auto sends it to voicemail.
I --believe-- this is the Call Block all grown up and renamed.
For my purposes, locale was the answer, once I got it set up properly. I set a condition of 'contact', listing the people I want the phone to ALWAYS ring if they're calling, and set the action to 'volume max'. Then I made sure this was at the top of my list in locale, since higher on the list is higher priority. The locale help has instructions about this, using 'VIP callers' as an example.
I can't seem to find Locale or Reverse Lookup Plus from the market?
sonyclie77 said:
I can't seem to find Locale or Reverse Lookup Plus from the market?
Click to expand...
Click to collapse
http://www.cyrket.com/search?q=locale
The first result is locale. YOu can scan the 2d barcode on the page with your phone, and the phone will ask if you want to open the link with your browser or with the market. click market, it'll take you straight to locale.

Can Tasker answer & immediately hang up to effectively block unwanted calls?ll

In the past, there was a root-assisted app Call Master that was able to block calls & prevent them from going to VoiceMail by hanging up one second after the call was taken, this prevented people being able to leave (say they left) a msg.
That was back in the old days of OS 4.2.x, now in 7.1x, th OS can block the call from needing to be answered, but it still goes thru to voicemail.
I don't know much abt this most recent version of Tasker, tho I played with it a bit when Tasker first care out yrs ago- so is someone knows of a way to do the answer/immediate hangup w/Tasker, I'll need detailed, newbie level instructions - pleaseā€¦
I miss being able to have the fone prevent a call fm getting to voicemail.
TIA, oldwolf
I don't know if that's possible but you can configure which calls go to voicemail natively as far as I know. So if blocked calls are handled as rejected calls you can configure to not pass them to voicemail in your phone / dialer settings
In short, yes. Just use an "end call" action. The trick is identifying the call to act on. Not in your contacts is one way. You could also add unwanted numbers to a single contact (e.g. Ignore) and act on that contact.
Abe & ktmom, thanks for your replies, but as I said, I need complete newbie level instructions on the Tasker side. @abe, I know how to get calls to voice mail- but how & where do I get blocked calls to become rejected calls in dialer settings?- I've been using a 3d party dialer forever, so I'm not familiar w/native dialer.
@ktmom, having used Call Master, I've got the theory abt how to ID calls to block/reject as 'not on contacts list, or an ignored group; & thanks for the tip on 'End Call'; but I'm still a Tasker newbie, pls walk me thru the steps, like I never saw Tasker b4, most recent version is beyond anything in 1st release.
TIA all, oldwolf
Start by installing the demo from the tasker website (if you don't have it). Leave it in beginner mode. Add a profile (plus sign bottom right) -> event -> phone -> phone ringing -> define the incoming caller. Play with this to figure out how best to meet your needs. Maybe start by blocking a specific caller in the journey to learn.
You'll then be prompted to provide a task. Give it a name (e.g. Block call). Then add an action -> phone -> end call.
Reading through the tasker wiki available on the developer's website will give you ideas and help the learning curve.
If you have no programming experience, this won't be a quick learning curve, but the task you're looking for is straight forward and amongst the simplest.
Teach a man to fish.....
Is there a consensus for Nougat?
I find many complaints about blockers no longer being able to hangup. My favorite Advanced Call Blocker will no longer do it. None that I try do it even though they claim to.
The hardest part is without a doubt to distinguish the calls. An idea could be to use an app which looks up the number. The one I use sends out toasts reading "spam". I have Autoinput register them for me. Of course, there's a lot of unwanted calls still getting through since sellers use private numbers or new numbers not yet widely identified as telemarketing.
eried1 said:
The hardest part is without a doubt to distinguish the calls. An idea could be to use an app which looks up the number. The one I use sends out toasts reading "spam". I have Autoinput register them for me. Of course, there's a lot of unwanted calls still getting through since sellers use private numbers or new numbers not yet widely identified as telemarketing.
Click to expand...
Click to collapse
Can you use Tasker to answer & hangup on Nougat?
That is the question, can it function?
Then one could work on a blocker that will keep unwanted VMs away.
As I said in post #3, you just use the end call action.
Anyone have a profile or Tasker made app to share?
ktmom said:
As I said in post #3, you just use the end call action.
Click to expand...
Click to collapse
Have you tested the End Call action from a profile? I've tested End Call on the prior version of Tasker and on the current version, and the action doesn't seem to work when called from a profile. On my phone, End Call in Tasker works fine when running the task during testing inside the task area, but Tasker's End Call does not actually work when the task is called from a profile. That functioning had been reported in the Tasker development area a long time ago, and apparently it was never fixed, since my phone worked the same as previously reported. On Nougat I was able to use the End Call task in Secure Settings with SuperSU to actually end a call using Tasker. Secure Settings hasn't been updated in a long time, so I used the following to get Secure Settings to work with SuperSU. Anway, as far as I could tell, End Call seems to be broken in Tasker.
https://forum.xda-developers.com/ap...ersu-v2-05-t2868133/post68700891#post68700891
I've been using it for years within a car mode task. Across multiple devices and tasker versions.
Interesting, maybe it just depends on the phone or something OS related. End Call in Tasker doesn't seem to work on the Pixel with Nougat or Oreo, and there were a number of similar comments online, so I thought the way my phone worked might have been common.
aviwdoowks said:
Can you use Tasker to answer & hangup on Nougat?
Click to expand...
Click to collapse
I know Secure Settings can hang up a call on my phone with Nougat rooted using SuperSU on Tasker, and the Secure Settings information also indicates there's an answer task in Secure Settings, so it's probably possible.
I have a profile, that blocks calls, but I have set it up to block calls from private, blocked, and anonymous callers. it will ring once and hang up the caller. I haven't figured out how to stop it from going to voicemail though.
Harry Tuttle said:
I have a profile, that blocks calls, but I have set it up to block calls from private, blocked, and anonymous callers. it will ring once and hang up the caller. I haven't figured out how to stop it from going to voicemail though.
Click to expand...
Click to collapse
Would you care to upload it?
PMs here do not allow attachments.
Pretty basic, the events are: PHONE RINGING+INCOMING CALL
For the numbers I've used: 0/private/blocked/unknown/anonymous or any specific numbers you want!
For the tasks CALL BLOCK
with the NUMBER MATCH being the the previous mentioned private, blocked...
Next is END CALL, which basically ends the call.
I have a NOTIFY. That puts an icon in my status bar, and a CALENDAR INSERT that puts it into my calendar.
It will block calls but it will ring one-time and disconnect the call, I've tried to silence the ringer by adding a nite but wasn't successful.
Apologies for resurrecting an older thread, but a few minutes ago I just worked out how to do exactly what the OP asked: answer and immediately hang up to effectively block unwanted calls.
I've created a rudimentary answer-and-hang-up call blocker, in Tasker, on Oreo, on a Sony Xperia X Compact, which is not rooted. I don't yet want to root my phone because Sony still provides monthly OS updates, I don't object to the Sony UI, and skvalex's Call Recorder works happily on this non-rooted phone. Once Sony turns off the update tap, then I'll investigate rooting it.
I cannot vouch that my experience will work for everyone on every device. All I can say is, it works for me. If it doesn't work for you, tinker with the various options to see if it can be made to work on your phone.
I don't want to reject calls, because then they go to voicemail and I can't be bothered with the effort of calling my voicemail to delete them. Instead, I want to answer the calls and then hang up, so there's no voicemail to handle. On my phone, the End Call task doesn't cancel the unanswered call; it sends it to voicemail.
I also want wildcard blocking because scammers often spoof caller IDs from area code prefixes which simply don't exist in the UK. I want to block all calls from fake area codes.
Extreme Call Blocker used to do both answer-and-hang-up and wildcard blocking, and was well worth the low purchase price. Unfortunately, it no longer does what it's supposed to do. The app hasn't been updated since 2016 so my suspicion is that newer versions of Android have changed things which ECB relied on. In addition, the developer's domain expired a month ago, so I'm not holding out much hope for an update to the app.
Call Control does have an answer-and-hang-up feature, which works as advertised, but the wildcard blocking does not work. At least, not on my phone. Perhaps it works for other people.
I tried a few other blockers but they all seemed to send the callers to voicemail. I got bored of testing call blocking apps at this point and figured I'd create my own.
So that's the introduction. Now on to the how-to.
This requires two apps, both of which are paid-for (but definitely worth the couple of quid asking price):
Tasker
AutoNotification
In Tasker:
Create a profile based on the Event "Phone Ringing". Add the number blocklist to the optional Caller field, using wildcards if required (for example 020* will block all calls from London). Use / as a separator, e.g. 020*/01234*/0870* etc.
Add these Tasks:
Task -> Wait -> 1 second (adjust timing for your preference)
Plugin -> AutoNotification -> Query (Configure the Apps section to intercept notifications from Phone.)
Plugin -> AutoNotification -> Actions (Configure the Intercept Action ID with the appropriate variable from the above Query. On my phone it's %anbutton2action() - yours may well differ.)
Task -> Wait -> 2 seconds (as before, adjust timing for your preference)
Phone -> End Call
It's not elegant, and requires manual updates of the Caller data in the Tasker Event, but it does what I want it to do.
If someone wants to update Extreme Call Blocker, or fix the wildcard handling of Call Control, then I'll ditch this in a heartbeat. But for now it meets my needs (and hopefully those of the OP, too).
Some additional background: In the UK (and maybe elsewhere), callers pay the termination fee to call a mobile phone, unlike in the USA and Canada where the recipient pays the termination fee. I'm in the UK so I like to answer the calls and hang up, so that the scammers get charged. Or, whoever is providing services to the scammers gets charged. Either way, if enough people do this, and the aggregate monetary cost is significant, then someone might take action to cut the scammers off.
It's a slim hope, I know, but you do what you can, right?
This morning I refined the tasks, to reduce the distraction from the phone ringing and hanging up.
This is now my current task list:
1. Audio -> Vibrate On Ringer -> Off (this does not always kill the vibration for every call, but it catches most - I suspect a timing issue)
2. Variables -> Variable Set -> Name %RingerVolume To %VOLR (save the current ringer volume level)
3. Audio -> Ringer Volume -> 0
4. Alert -> Flash -> SCAM - DO NOT ANSWER (for those times when I'm looking at the phone when it rings, or notice any vibration)
5. Task -> Wait -> 1 second
6. Plugin -> AutoNotification -> Query (Configure the Apps section to intercept notifications from Phone.)
7. Plugin -> AutoNotification -> Actions -> %anbutton2action() (Configure the Intercept Action ID with the appropriate variable from the above Query. On my phone it's %anbutton2action() - yours may well differ.)
8 Task -> Wait -> 2 seconds (as before, adjust timing for your preference)
9. Phone -> End Call
10. Audio -> Ringer Volume -> %RingerVolume (restore the previous ringer volume level)
11. Audio -> Vibrate On Ringer -> On
---------- Post added at 10:48 AM ---------- Previous post was at 10:47 AM ----------
http://tasker.dinglisch.net/userguide/en/matching.html gives some additional advice for pattern matching against callers, including a link to a very comprehensive regex reference: https://developer.android.com/reference/java/util/regex/Pattern
I could block fake London calls with 0201*/0202*/0203*/0204* and so on, but regex offers a much more efficient way to do it: ~R^020[0-69]
I'm aware that Ofcom inexplicably believes that 020 3xxx xxxx is a valid number range for London, but I've yet to encounter a reputable company which lowers itself to using 020 3xxx xxxx numbers. In my experience they're the preserve of fly-by-night outfits and scammers. So into the blocklist they go.
What is the difference in tasks "End Call" and "Block Call" and why the former does not ask for the number while the latter does?
In my experience the "block call" does not work, and the "end call" might ring the ringer once (or at times not at all) and then send the call to voicemail.
I would rather have it to NEVER ring and NOT send it to voicemail.
Suggestions?
drgkt said:
What is the difference in tasks "End Call" and "Block Call" and why the former does not ask for the number while the latter does?
In my experience the "block call" does not work, and the "end call" might ring the ringer once (or at times not at all) and then send the call to voicemail.
I would rather have it to NEVER ring and NOT send it to voicemail.
Suggestions?
Click to expand...
Click to collapse
If you want the phone to never ring, use whatever call blocking feature your service provider offers. It will be impossible for an on-device app to always prevent a ring.
From the information button on "block call" (? In a circle in the action screen)
"Call Block
Block outgoing calls to the specified matched number(s).
If no Number is specified, all calls will be blocked.
If Info is checked, all diversions and blocks will be displayed after the action.
To stop blocking, use Call Revert."
End call doesn't need a number because it's an action. You determine what calls to end through the profile then run a task with an end call action.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini

Trouble with Tasker Auto-answer -- Please Help!

Not sure if I'm in the right place for this so sorry if this gets posted incorrectly.
I'm relatively new to Tasker. Trying to use it autoanswer a call from a specific caller and then dial the number 1, but I'm having real issues getting it setup. Here is what I've done so far.
I developed a task that I'm just calling test using the following steps:
1. CALL - triggered by an incoming call from a specific name (not using a the number)
2. WAIT - currently set to 70ms.
3. LAUNCH APP - launch the phone keyboard.
4. SPEAKERPHONE - set to "on"
5. IN-CALL VOLUME - level 8
6. BEEP - this is just a notification for me that a call has started. I've got it set to 1000 MS
7. AUTOINPUT ACTION - clicks the 1 key.
I then setup a profile, selected STATE, selected CALL INCOMING and then assigned the task to it.
When go to the task and click the play button, it works just fine. When I actually call the number though and have the task set to use my name, I get an error message.
I've tried various versions of this, screening for specific numbers or for a name, but no joy on any of them. The farthest that I've been able to get is to have the phone pick up a call and turn on the speaker phone, but that's only if I don't screen the name or the number of the caller. When in an actual call, I haven't been able to get the keyboard to launch at all.
Additionally, I've been looking all over for examples of a similar task and haven't really found anything useful.
The phone I"m using is a moto g6 - not rooted - running Oreo. Any help would be very much appreciated.

Dialer app - specific functions for kid phone

Hello guys,
I was looking for kids mode like the one from Samsung. Unfortunately my kid's phone is not samsung and i wasnt able to port the application to work on Sony Device.
The main reason for this is that they had a Dialer application for kids which shows no phone number but ONLY the name of the mother/father contacts while calling. I want to use this function to make the phone more secure in case is stolen or robbed. As well it offers to block any other incoming calls except the selected ones.
@ktmom suggested me to try with a Tasker. I've never been experience a similar software for this kind of things.
Could you please gimme some advices or help regarding my needs and suggest me from where to start.
Thanks in advance.
Hi Ho [emoji16]
The plan I would start with is to create a shortcut on the desktop or a notification with call mom (or dad) buttons. Then use tasker to directly dial the numbers (as variables) without having them entered into the phone's contacts.
The trick is the dialer history will keep a history of called numbers, but I think that can be deleted; though we may need one or two plugins to tasker to achieve that reliably.
If this is in line with your goals, then I'll be happy to create a task or two to handle this that you can import. That is easier than teething to develop it yourself as a beginner.
I'm at the airport waiting for my daughter's flight, but let me know if this will work, or any ideas you have.
Sure, let's do it like that with your help. And in the process of developing we can sharpen it.
BTW thank you so much for your help and patience. I do really appreciate your help. ????
I actually just got home. Is there a timeframe for this? I'm thinking Christmas or similar. Otherwise I'll spend some time this weekend to come up with something for you.
This is just a basic set of tasks to create quick dialers to Mom and Dad, without needing the numbers to have been entered into the contacts app.
One task, "create shortcuts", sets two of Tasker's quick setting tiles. One will call Dad, the other will call Mom. The use of the quick settings tiles should help prevent accidental calls and still be convenient.
After importing the linked project, go to the device's quick settings editor and drag the first two Tasker tiles into the active area. The tasks won't actually appear set to the tiles until they are in the active area.
The task, "create shortcuts" should run on import of this project, performing the configuration mentioned above; associating the tiles with the "call mom" and "call dad" tasks.
The icons are set in the respective "call mom" or "call dad" task. To change the icon, enter the task then tap the icon at the bottom and select a new one. The "create shortcuts" task may need to be run again (manually) to update the tile's icon.
You must go to the "dialer" task and edit the value in the "To" field within the first two actions to the appropriate phone numbers.
The left facing arrow at the top left of the screen exits out of the task and saves the changes. You should also make a habit of tapping the checkmark [emoji736] at the top of the screen after saving a task, which saves the changes to Tasker. That checkmark is available only when there are changes to be saved.
This is just a start, hoping to get feedback if this is the right direction for you.
Import Kids Phone project.
Hey,
thanks a lot for the time you spent for this.
I've tested it and it calls with no issues.
Now we have to make the phone numbers to disappear. Can we put a fixed custom title? This is because it uses the name written in the contact list.
BTW is there an option to drop an icon on the desktop of the phone?
Thanks again for your great help!
IMalchev said:
Hey,
thanks a lot for the time you spent for this.
I've tested it and it calls with no issues.
Now we have to make the phone numbers to disappear. Can we put a fixed custom title? This is because it uses the name written in the contact list.
BTW is there an option to drop an icon on the desktop of the phone?
Thanks again for your great help!
Click to expand...
Click to collapse
Yes, we can create a desktop shortcut. Instead of the tiles?
What do you mean "it uses the name in the contact list"? Do you mean in the call history?
I meant that when I run the call from the tasker it uses the name from the contact book/history. This is not big issue, but it just wondering if it's possible.
Thank you
IMalchev said:
I meant that when I run the call from the tasker it uses the name from the contact book/history. This is not big issue, but it just wondering if it's possible.
Thank you
Click to expand...
Click to collapse
That is the relationship the phone app has with the contact app. You have to remove the names from the contact app.
I'm confused. I thought the goal here is to obfuscate the phone numbers so if the phone is picked up by a "stranger", the numbers are not evident.
If I was, for example, a stalker, and I took the child's phone to get phone numbers, the first place I would look is in the contacts app. The second place is in the call log. Can you help me understand what is and isn't necessary here.
To create the task to remove the call's history from the history, I have to sort out the contentrovider structure for the phone database. I've explored the text messaging DB, but I need to be on my computer to find the phone DB structure.

Categories

Resources