Hey, Tasker fellows.
I was just making a profile to answer a call using some event trigger. But I'm on cm13 and the take call feature is not supported anymore in lollipop+ versions.
Any alternate suggestions would help.
I have tried the autonotification feature and tried with the action %anbutton3action.
But it doesnt work.
Thanks!
luccifyer said:
Hey, Tasker fellows.
I was just making a profile to answer a call using some event trigger. But I'm on cm13 and the take call feature is not supported anymore in lollipop+ versions.
Any alternate suggestions would help.
I have tried the autonotification feature and tried with the action %anbutton3action.
But it doesnt work.
Thanks!
Click to expand...
Click to collapse
try
service call phone 6
or
input keyevent 5
in run shell, with root of course. That's what I use.
alienyd said:
try
service call phone 6
or
input keyevent 5
in run shell, with root of course. That's what I use.
Click to expand...
Click to collapse
input keyevent 5 worked fantastically.
Thanks a lot! I have been trying to research a lot to no result. But now i have a working solution
I think the service call is better, as it should be device independent. However on my device, only keyevent works so...
luccifyer said:
Hey, Tasker fellows.
I was just making a profile to answer a call using some event trigger. But I'm on cm13 and the take call feature is not supported anymore in lollipop+ versions.
Any alternate suggestions would help.
I have tried the autonotification feature and tried with the action %anbutton3action.
But it doesnt work.
Thanks!
Click to expand...
Click to collapse
Notification Listener plugin has an option in order to take the calls and it doesn't require root and it's much better.
Related
Guys,
How can I use this feature to toggle on/off my bluetooth, NFC, Cellular Data, Wifi, etc?
How can I ask it to read out unread texts or the last text I got?
Wutang200 said:
Guys,
How can I use this feature to toggle on/off my bluetooth, NFC, Cellular Data, Wifi, etc?
How can I ask it to read out unread texts or the last text I got?
Click to expand...
Click to collapse
To read text just say "hey google now, what's up" and it will read your notifications and maybe your text.
and you cannot toggle features on and off unfortunately, that would be cool though but then other people could sabotage your phone... NOT COOL!
Hope that helps.
Thanks I'll give that What's Up thing a try later today.
It didn't work. Just does a Google search for What's up.
Any other suggestions?
Are you sure you've updated the Touchless Control app? It should work even when you don't have any pending messages. If you are certainly up to date, just try again.
Wutang200 said:
It didn't work. Just does a Google search for What's up.
Any other suggestions?
Click to expand...
Click to collapse
Try what's new or read notifications. I think what's up works for U.S users only.
Yes for UK users, the command is What's New. Works perfectly and very handy!
Absolutely loving this phone for it's features and sleek looks!
What I have done in the past is to use Tasker app factory to create small apps to do the toggles you want, and then tell touchless control to launch the app.
Solutions Etcetera said:
What I have done in the past is to use Tasker app factory to create small apps to do the toggles you want, and then tell touchless control to launch the app.
Click to expand...
Click to collapse
Touch less control cant open applications . I tried it many times but had no success
drago10029 said:
and you cannot toggle features on and off unfortunately, that would be cool though but then other people could sabotage your phone... NOT COOL!.
Click to expand...
Click to collapse
That's not true if you have root. There is an xposed module that allows Google now to turn on/off bluetooth/wifi/mobile data. It works with Touchless controls.
Arak-Nafein said:
That's not true if you have root. There is an xposed module that allows Google now to turn on/off bluetooth/wifi/mobile data. It works with Touchless controls.
Click to expand...
Click to collapse
Ive used touchless control to open some apps but doesnt work with others, cant recall which. Do you remember the module that enables this?
Ive got:
APM
AppOpsExposed
BubbleUPnP
GravityBox[KK]
Edit/ Ive got root
DaRkRhiNe said:
Touch less control cant open applications . I tried it many times but had no success
Click to expand...
Click to collapse
Works fine here; "launch driving mode". "Driving Mode" being an app I created for setting BT on, WiFi off, screen timeout to 5 minutes, and sending a play intent to Pocketcasts.
productofusa said:
Ive used touchless control to open some apps but doesnt work with others, cant recall which. Do you remember the module that enables this?
Ive got:
APM
AppOpsExposed
BubbleUPnP
GravityBox[KK]
Edit/ Ive got root
Click to expand...
Click to collapse
The module is Google Search API. http://forum.xda-developers.com/apps/xposed-modules/mod-google-search-api-t2554173
The plugin, voice toggles, allows you to turn on/off wifi/bluetooth/mobile data. I also use the autovoice plugin to allow me to use my tasker/autovoice stuff from google now, and by extension touchless controls.
The ability to turn on/off bluetooth/wifi/mobile data is already built into google now, but it's disabled and/or incomplete. I'm remembering that, so it might not be 100% correct.
DaRkRhiNe said:
Touch less control cant open applications . I tried it many times but had no success
Click to expand...
Click to collapse
I open applications all the time with touchless control. Without setting up tasker.
Sent from my XT1058 using XDA Premium 4 mobile app
Does someone knows how to change touchless controll's language? I have a brazilian Moto X and i'd like to change touchless controll's language to English, since it has more commands
when i'm pulling my phone from my pocket to answer a call,it touches my body and call is rejecting with a masage.So I desperately need to disable this function. any help?
xperia.zr said:
when i'm pulling my phone from my pocket to answer a call,it touches my body and call is rejecting with a masage.So I desperately need to disable this function. any help?
Click to expand...
Click to collapse
The stock Dialer has the 'reply with message' option hard-coded, so there is no way you can enable or disable it using the settings menu, believe me, I tried.
The only workaround I found to this particular issue was installing a third party dialer app, then I used Titanium Backup to freeze the stock phone app. Finally, I set the app I installed previously as the new default app.
There's plenty of dialer apps in PlayStore, but you'll have to find the one that best suits your needs and preferences.
If the solution above doesn't match your needs, try installing the Tiny Call Confirm App. That should help a lot too.
I hope this helps you.
xperia.zr said:
when i'm pulling my phone from my pocket to answer a call,it touches my body and call is rejecting with a masage.So I desperately need to disable this function. any help?
Click to expand...
Click to collapse
Even i had the same issue. Sometimes the phone sends reject messages to callers.
I installed "Gravity Screen" and it tool care of everything.
xperia.zr said:
when i'm pulling my phone from my pocket to answer a call,it touches my body and call is rejecting with a masage.So I desperately need to disable this function. any help?
Click to expand...
Click to collapse
If you are rooted and knowledge in decompile & recompile you can check the thread. :good:
http://forum.xda-developers.com/showthread.php?t=2777494
(h) Disable Reject Call With Message Option
Check out this for Solution.,., its working for me superbly
http://forum.xda-developers.com/showpost.php?p=54339367&postcount=1
Can this be done on stock rom?
Stilzkin said:
Can this be done on stock rom?
Click to expand...
Click to collapse
Yes.
Sent from my C5502 using Tapatalk
Hey guys.
I am trying to figure out when a new app is shown. I have tried hooking into the Activity class for onWindowFocusedChanged method which works under normal conditions.
For instance, my ROM has the ability to hold a button to kill foreground app. Works great. however, doing that, the onWindowFocusedChanged method is not called. So my module does not detect the focus is lost.
I am wondering if anyone else has any other ideas. AccessibilityService works perfectly. But uses a lot of CPU and other resources. Was thinking maybe Window.class or WindowManager.class would help as well. But not sure. Thanks guys for your time!
Can't you simply hook onResume or similar?
GermainZ said:
Can't you simply hook onResume or similar?
Click to expand...
Click to collapse
Only one problem left: "super" access -> http://forum.xda-developers.com/xposed/problem-invoke-super-methods-t2822375
defim said:
Only one problem left: "super" access -> http://forum.xda-developers.com/xposed/problem-invoke-super-methods-t2822375
Click to expand...
Click to collapse
I don't see how that is related in this case. Why would he want to call the super method explicitly?
GermainZ said:
I don't see how that is related in this case. Why would he want to call the super method explicitly?
Click to expand...
Click to collapse
eg for onResume the 1st call have to be super.onResume
defim said:
eg for onResume the 1st call have to be super.onResume
Click to expand...
Click to collapse
There's no reason to use beforeHookedMethod/replaceHookedMethod in this case, so the original method will call the super method, and afterHookedMethod can be used to e.g. send a broadcast without having to worry about it.
GermainZ said:
There's no reason to use beforeHookedMethod/replaceHookedMethod in this case, so the original method will call the super method, and afterHookedMethod can be used to e.g. send a broadcast without having to worry about it.
Click to expand...
Click to collapse
Yeas, with afterHookedMethod no problems, but i wanted to point to that, so he has not to do the same research as me
Thanks guys for your reply!
I did end up using an AccessibilityService. After much reading and testing, i have gotten the app to use .04 percent of the CPU in the last 5 hours. Pretty damn good! I am probably going to use this method anyhow.
I did hook onResume and onCreate, but some nothing would happen when some apps would show. For instance, the home screen of Apex launcher wouldn't trigger on onResume or anything like that. I even looked at the smali and it uses a LauncherActivity which extends the Activity class. So I was awfully confused. I tried it with both a before and after hooked method. I surely thought hooking onResume and onCreate would signify the opening of an app. But it didn't for all of them.
Thanks again for your replies!
Has anyone been able to activate the native call recording on CM12 nightly (2015-02-18)?
I've run
Code:
adb shell setprop persist.call_recording.enabled true
adb shell setprop persist.call_recording.src 4
And rebooted. The values are still there, but the call record button doesn't show up in the UI. Is there anywhere else I need to enable it?
I'm able to use Boldbest Recorder without issue - and it's legal for me to record my personal calls in my country.
can i ask why would u use cm12 on this?
Not being funny at all just wondering
Why? I like Trebuchet, I can remove apps I don't use (no bloatware), better customisation like centre clock, access to the notification LED, button placement to put the back button on the right - and adding cursor control to the button bar - and I find that it runs faster & smoother.
Now, does anyone know how to activate the native call recorder?
oky no worries i have just ordered this my first nexus so was just wondering is all
Hope u get it sorted
edent said:
Why? I like Trebuchet, I can remove apps I don't use (no bloatware), better customisation like centre clock, access to the notification LED, button placement to put the back button on the right - and adding cursor control to the button bar - and I find that it runs faster & smoother.
Now, does anyone know how to activate the native call recorder?
Click to expand...
Click to collapse
Are you sure the kernel supports it?
I don't know much about the whole process, but it might be a feature that is half baked for the N6? Akin to the first few harmon/karden ports to non-Sprint M8s.
As I mentioned, the Boldbeast call recorder works fine. The nightly release logs look like they support recording.
edent said:
As I mentioned, the Boldbeast call recorder works fine. The nightly release logs look like they support recording.
Click to expand...
Click to collapse
Read read read lol sorry missed that.
edent said:
Has anyone been able to activate the native call recording on CM12 nightly (2015-02-18)?
I've run
Code:
adb shell setprop persist.call_recording.enabled true
adb shell setprop persist.call_recording.src 4
And rebooted. The values are still there, but the call record button doesn't show up in the UI. Is there anywhere else I need to enable it?
I'm able to use Boldbest Recorder without issue - and it's legal for me to record my personal calls in my country.
Click to expand...
Click to collapse
Call recording feature is actually enable-able on a device basis. I think it depends on the actual hardware of your phone, sound routing etc. etc.
For example, I have bacon and the feature is available only since 20150401:
http://review.cyanogenmod.org/#/c/90821/
You'd better check on http://www.cmxlog.com/12/shamu/ for a green item stating "shamu" and "call recording".
I hope this can help.
You are right, not long after, someone ported it to Shamu. I then found the code where it's disabled by default.
I didn't get a chance to try it in cm12 before 5.1 came out.
I'm back on stock for now.
With the announcement of the new gestures feature for the Pixel 4 I thought: "I should try something similar with Tasker".
Here it is!
It's obviously less precise because you don't have all the extra sensors needed for accurate gestures, but on the other hand it's infinitely more customizable!
Depending on what situation you're in, you'll be able to do lots of different things!
Included are:
Music control gestures
Whatsapp gesture
These are just 2 examples. You can expand on these and do whatever you want with them!
Import the project here!
Enjoy!
Great job Joao!!!
If I can, I would like to share mine too from time ago. Hope this helps yours
https://www.youtube.com/watch?v=_Pfuk7jy4J8
https://drive.google.com/file/d/10pu5BlcN59xFcvZ9P1pav9YGchhaIDiz/view
I'm assuming one would need root for this, yes?
stanleyopar2000 said:
I'm assuming one would need root for this, yes?
Click to expand...
Click to collapse
No root needed at all!
joaomgcd said:
No root needed at all!
Click to expand...
Click to collapse
So I gave it a whirl and i'm not sure if i'm a tasker noob but I could not seem to get it working and the setup was a little too complicated for me : /
It was saying no profiles currently running even though I switched the toggles
stanleyopar2000 said:
So I gave it a whirl and i'm not sure if i'm a tasker noob but I could not seem to get it working and the setup was a little too complicated for me : /
It was saying no profiles currently running even though I switched the toggles
Click to expand...
Click to collapse
I have imported the profiles and can not get it to work neither. Galaxy S10.
stanleyopar2000 said:
So I gave it a whirl and i'm not sure if i'm a tasker noob but I could not seem to get it working and the setup was a little too complicated for me : /
It was saying no profiles currently running even though I switched the toggles
Click to expand...
Click to collapse
mirrik said:
I have imported the profiles and can not get it to work neither. Galaxy S10.
Click to expand...
Click to collapse
What did you try it with? The music one or the Whatsapp one?
joaomgcd said:
What did you try it with? The music one or the Whatsapp one?
Click to expand...
Click to collapse
Not working with both of them. Tried with google play, spotify and whatsup. After import It asked to install AutoInput and AutoNotification which I did and purchased. I allowed all the permissions but maybe some are missing...
mirrik said:
Not working with both of them. Tried with google play, spotify and whatsup. After import It asked to install AutoInput and AutoNotification which I did and purchased. I allowed all the permissions but maybe some are missing...
Click to expand...
Click to collapse
Thanks. Can you verify that you have Tasker 5.8.2?
Also, did you give AutoNotification access to your notifications? Go to Tasker > Menu > More > Android Settings > Notification Access > Check if AutoNotification is enabled.
joaomgcd said:
Thanks. Can you verify that you have Tasker 5.8.2?
Also, did you give AutoNotification access to your notifications? Go to Tasker > Menu > More > Android Settings > Notification Access > Check if AutoNotification is enabled.
Click to expand...
Click to collapse
Yes, version 5.8.2 installed. AutoNotification has an access. All is set as you indicate. Maybe there is an issue with my proximity sensor. I test it by dialing *#77692# and by default it was off. I turned it on and It worked perfectly. On second attempt to dial It was off again. Maybe It is activated on samsung S10 only at performing specific action as making phone call?
I also checked with Sensoroid - Senso info app what sensor are there at my S10. It lists about 52 sensors found including TMD4910 Proximity sensor, Proximity pocket and Palm Proximity Sensor.
mirrik said:
Yes, version 5.8.2 installed. AutoNotification has an access. All is set as you indicate. Maybe there is an issue with my proximity sensor. I test it by dialing *#77692# and by default it was off. I turned it on and It worked perfectly. On second attempt to dial It was off again. Maybe It is activated on samsung S10 only at performing specific action as making phone call?
I also checked with Sensoroid - Senso info app what sensor are there at my S10. It lists about 52 sensors found including TMD4910 Proximity sensor, Proximity pocket and Palm Proximity Sensor.
Click to expand...
Click to collapse
Ah yes, that is possibly the issue! I've had reports from other people that the S10's sensor is not working as it should and only turns on during calls... Unfortunately I can't help with that one Check here for example.
I would love to hear some other ideas that people on this thread used when activating this. I'm not a WhatsApp user, so I'm only basing my experiences through GPM. Any additional apps where this could be advantageous?
Mate 20 lite not working i wasted 3 euros
---------- Post added at 10:13 PM ---------- Previous post was at 10:11 PM ----------
And yes latest version and autonotification enabled
Works for me. Thanks!
Is it posible to control Google Assistant with gestures? Just asking.
correcting my comment, it works perfectly now
great job
I'm new to tasker, and wanted to know if you can trigger the camera to take a photo with this air gesture?
I imported the file from the OP to my OnePlus 6T. This is the only thing I have setup in Tasker, and for the life of me I can not get it to function. An I missing something
phillymade said:
I imported the file from the OP to my OnePlus 6T. This is the only thing I have setup in Tasker, and for the life of me I can not get it to function. An I missing something
Click to expand...
Click to collapse
Start with making sure the proximity sensor is working. A poster above with a Samsung had a problem like that. If you need an app to test it, try Sensors Toolbox
Then look at the tasker log and see if there is any messages there that will help.
Are you trying the WhatsApp or music controls?
ktmom said:
Start with making sure the proximity sensor is working. A poster above with a Samsung had a problem like that. If you need an app to test it, try Sensors Toolbox
Then look at the tasker log and see if there is any messages there that will help.
Are you trying the WhatsApp or music controls?
Click to expand...
Click to collapse
Music.
I'll try your suggestion
I really want to control the camera with this, but I do not think it's possible.
Sensor is working see photo
Sent from my ONEPLUS A6013 using Tapatalk
View attachment 4859291
phillymade said:
Music.
I'll try your suggestion
I really want to control the camera with this, but I do not think it's possible.
Sensor is working see photo
Sent from my ONEPLUS A6013 using Tapatalk
View attachment 4859291
Click to expand...
Click to collapse
I actually installed this to see what was up. On the music version, the profile "Proximity With Music" has three contexts. The AutoNotification context is set to trigger the profile only on notifications from specific apps. You need to check and make sure your app is enabled there. Also, if you don't have AutoNotification installed, it won't work.
As far as taking a photo, that definitely can be done. Here is a Air Camera project. It builds on Joao's project and requires AutoInput to be installed.
It's possible that it won't work out of the "box" due to two things.
1) The "Camera" profile gets triggered based on the Google Camera app opening. This would need to be updated to whichever camera app is used.
2) In the "Handle Camera Gesture" profile entry task, the AutoInput action is expecting the Google Camera app. If that doesn't exist, that action can be updated to operate the shutter button in whatever camera app is installed.
NOTE: In the "Handle Camera Gesture" profile entry task, there is a paused action, "Take Photo". That is actually the Tasker action that will take a photo regardless whether the camera is open or not. It's a bit silly in this application but could be used instead of the AutoInput action.